From: Felix Fietkau Date: Mon, 17 Mar 2014 14:52:18 +0000 (+0000) Subject: busybox: fix processing of multiple NTP servers in the config (#15294) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f960a1fdb0f98c64e513845d5b12913aaef3e63f;p=openwrt%2Fstaging%2Fluka.git busybox: fix processing of multiple NTP servers in the config (#15294) Signed-off-by: Felix Fietkau SVN-Revision: 39935 --- diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd index add7762c7f..c5c3c8e59a 100755 --- a/package/utils/busybox/files/sysntpd +++ b/package/utils/busybox/files/sysntpd @@ -24,7 +24,7 @@ start_service() { procd_open_instance procd_set_param command "$PROG" -n [ "$enable_server" = "1" ] && procd_append_param command -l - for peer in "$server"; do + for peer in $server; do procd_append_param command -p $peer done procd_set_param respawn