busybox: fix processing of multiple NTP servers in the config (#15294)
authorFelix Fietkau <nbd@openwrt.org>
Mon, 17 Mar 2014 14:52:18 +0000 (14:52 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 17 Mar 2014 14:52:18 +0000 (14:52 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39935

package/utils/busybox/files/sysntpd

index add7762c7ff8c62337544201f1344a6273971b47..c5c3c8e59ab73d50ecc0fa159c59bfbfed282372 100755 (executable)
@@ -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