summaryrefslogtreecommitdiff
path: root/package/utils/busybox/files/sysntpd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-17 14:52:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-03-17 14:52:18 +0000
commitf960a1fdb0f98c64e513845d5b12913aaef3e63f (patch)
tree9e8b7d68195e5d638d32c17b559ab69fb16fc3b0 /package/utils/busybox/files/sysntpd
parent8a7d3c8a1bc58a70998c2266aadfb82007470338 (diff)
downloadmtk-20170518-f960a1fdb0f98c64e513845d5b12913aaef3e63f.zip
mtk-20170518-f960a1fdb0f98c64e513845d5b12913aaef3e63f.tar.gz
mtk-20170518-f960a1fdb0f98c64e513845d5b12913aaef3e63f.tar.bz2
busybox: fix processing of multiple NTP servers in the config (#15294)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39935
Diffstat (limited to 'package/utils/busybox/files/sysntpd')
-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 add7762..c5c3c8e 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