busybox: fix validation in sysntpd init script

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41415
This commit is contained in:
Luka Perkov 2014-06-30 10:11:18 +00:00
parent 9912d02fa1
commit 9dd205b2ad

View file

@ -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() {