summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-03-17 14:52:18 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-03-17 14:52:18 +0000
commit4376519c953b41622d8c4da4a8179922b5fbc6f0 (patch)
tree0d42a6a4eceb15b8bca23113bb9502d85add2038
parent9757f123fee8016e1c78627c68a5e3085216e02b (diff)
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
-rwxr-xr-xpackage/utils/busybox/files/sysntpd2
1 files changed, 1 insertions, 1 deletions
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