busybox: fix validation in sysntpd init script
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41415
This commit is contained in:
parent
9912d02fa1
commit
9dd205b2ad
1 changed files with 1 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue