aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2014-06-30 10:11:18 +0000
committerLuka Perkov <luka@openwrt.org>2014-06-30 10:11:18 +0000
commit9dd205b2ad5cdb761ebbc93b1c794942b8cb9a6f (patch)
tree4c4467881b13ce01a29992f7caa09fdea350f591
parent9912d02fa1d0e0f4a484180d23c812223bde7e11 (diff)
downloadupstream-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
-rwxr-xr-xpackage/utils/busybox/files/sysntpd1
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() {