procd: fixup 2 wrong option types

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38789
This commit is contained in:
John Crispin 2013-11-13 11:07:24 +00:00
parent 50db95e2f0
commit a9cfb4b827
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ validate_section_dropbear()
'PasswordAuth:bool:1' \
'enable:bool:1' \
'Interface:string' \
'GatewayPorts:integer:0' \
'GatewayPorts:bool:0' \
'RootPasswordAuth:bool:1' \
'RootLogin:bool:1' \
'rsakeyfile:file' \

View File

@ -8,7 +8,7 @@ PROG=/usr/sbin/ntpd
validate_ntp_section() {
uci_validate_section system timeserver "${1}" \
'server:list(string)' 'enable_server:bool:0'
'server:list(host)' 'enable_server:bool:0'
}
start_service() {