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 | f960a1fdb0f98c64e513845d5b12913aaef3e63f (patch) | |
tree | 9e8b7d68195e5d638d32c17b559ab69fb16fc3b0 /package/utils/busybox/files/sysntpd | |
parent | 8a7d3c8a1bc58a70998c2266aadfb82007470338 (diff) | |
download | upstream-f960a1fdb0f98c64e513845d5b12913aaef3e63f.tar.gz upstream-f960a1fdb0f98c64e513845d5b12913aaef3e63f.tar.bz2 upstream-f960a1fdb0f98c64e513845d5b12913aaef3e63f.zip |
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-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 |