summaryrefslogtreecommitdiff
path: root/package/utils
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 /package/utils
parent9912d02fa1d0e0f4a484180d23c812223bde7e11 (diff)
downloadmtk-20170518-9dd205b2ad5cdb761ebbc93b1c794942b8cb9a6f.zip
mtk-20170518-9dd205b2ad5cdb761ebbc93b1c794942b8cb9a6f.tar.gz
mtk-20170518-9dd205b2ad5cdb761ebbc93b1c794942b8cb9a6f.tar.bz2
busybox: fix validation in sysntpd init script
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41415
Diffstat (limited to 'package/utils')
-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 417addf..1878c3f 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() {