diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-17 14:52:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-17 14:52:18 +0000 |
commit | 4f6bfc347b326198807b3f0eaf48fbbbadc421d2 (patch) | |
tree | 0d42a6a4eceb15b8bca23113bb9502d85add2038 /package/utils/busybox/files | |
parent | 4dbf11202fc99ea95645df0eb08d46d21fd507e2 (diff) | |
download | upstream-4f6bfc347b326198807b3f0eaf48fbbbadc421d2.tar.gz upstream-4f6bfc347b326198807b3f0eaf48fbbbadc421d2.tar.bz2 upstream-4f6bfc347b326198807b3f0eaf48fbbbadc421d2.zip |
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
Diffstat (limited to 'package/utils/busybox/files')
-rwxr-xr-x | package/utils/busybox/files/sysntpd | 2 |
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 |