mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-07 05:09:29 -05:00
busybox: fix validation in sysntpd init script
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41415
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user