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 | 69103ffd854fb4830c2cdea87c1462269c60bcb7 (patch) | |
tree | 4612677b36325b943eedeac1d49afa39d81e0e62 | |
parent | 1a7223795f4fa449b5c85bc97bc7454f103a0c85 (diff) | |
download | master-187ad058-69103ffd854fb4830c2cdea87c1462269c60bcb7.tar.gz master-187ad058-69103ffd854fb4830c2cdea87c1462269c60bcb7.tar.bz2 master-187ad058-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
-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() { |