diff options
author | Luka Perkov <luka@openwrt.org> | 2014-06-30 10:11:18 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2014-06-30 10:11:18 +0000 |
commit | 9dd205b2ad5cdb761ebbc93b1c794942b8cb9a6f (patch) | |
tree | 4c4467881b13ce01a29992f7caa09fdea350f591 /package/utils/busybox/files | |
parent | 9912d02fa1d0e0f4a484180d23c812223bde7e11 (diff) | |
download | upstream-9dd205b2ad5cdb761ebbc93b1c794942b8cb9a6f.tar.gz upstream-9dd205b2ad5cdb761ebbc93b1c794942b8cb9a6f.tar.bz2 upstream-9dd205b2ad5cdb761ebbc93b1c794942b8cb9a6f.zip |
busybox: fix validation in sysntpd init script
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 41415
Diffstat (limited to 'package/utils/busybox/files')
-rwxr-xr-x | package/utils/busybox/files/sysntpd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd index 417addfb1c..1878c3f594 100755 --- a/package/utils/busybox/files/sysntpd +++ b/package/utils/busybox/files/sysntpd @@ -9,6 +9,7 @@ PROG=/usr/sbin/ntpd validate_ntp_section() { uci_validate_section system timeserver "${1}" \ 'server:list(host)' 'enabled:bool:1' 'enable_server:bool:0' + return $? } start_service() { |