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 | |
parent | 8a7d3c8a1bc58a70998c2266aadfb82007470338 (diff) | |
download | mtk-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')
-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 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 |