busybox: fix processing of multiple NTP servers in the config (#15294)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39935 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2014-03-17 14:52:18 +00:00
parent 4dbf11202f
commit 4f6bfc347b

View File

@@ -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