aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/files
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
commit69103ffd854fb4830c2cdea87c1462269c60bcb7 (patch)
tree4612677b36325b943eedeac1d49afa39d81e0e62 /package/utils/busybox/files
parent1a7223795f4fa449b5c85bc97bc7454f103a0c85 (diff)
downloadupstream-69103ffd854fb4830c2cdea87c1462269c60bcb7.tar.gz
upstream-69103ffd854fb4830c2cdea87c1462269c60bcb7.tar.bz2
upstream-69103ffd854fb4830c2cdea87c1462269c60bcb7.zip
busybox: fix validation in sysntpd init script
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41415 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/utils/busybox/files')
-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() {