Skip to content
Snippets Groups Projects
Commit 9dd205b2 authored by Luka Perkov's avatar Luka Perkov
Browse files

busybox: fix validation in sysntpd init script


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

SVN-Revision: 41415
parent 9912d02f
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment