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

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

SVN-Revision: 39935
This commit is contained in:
Felix Fietkau 2014-03-17 14:52:18 +00:00
parent 8a7d3c8a1b
commit f960a1fdb0

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