procd: fixup 2 wrong option types
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38789
This commit is contained in:
parent
50db95e2f0
commit
a9cfb4b827
@ -38,7 +38,7 @@ validate_section_dropbear()
|
|||||||
'PasswordAuth:bool:1' \
|
'PasswordAuth:bool:1' \
|
||||||
'enable:bool:1' \
|
'enable:bool:1' \
|
||||||
'Interface:string' \
|
'Interface:string' \
|
||||||
'GatewayPorts:integer:0' \
|
'GatewayPorts:bool:0' \
|
||||||
'RootPasswordAuth:bool:1' \
|
'RootPasswordAuth:bool:1' \
|
||||||
'RootLogin:bool:1' \
|
'RootLogin:bool:1' \
|
||||||
'rsakeyfile:file' \
|
'rsakeyfile:file' \
|
||||||
|
@ -8,7 +8,7 @@ PROG=/usr/sbin/ntpd
|
|||||||
|
|
||||||
validate_ntp_section() {
|
validate_ntp_section() {
|
||||||
uci_validate_section system timeserver "${1}" \
|
uci_validate_section system timeserver "${1}" \
|
||||||
'server:list(string)' 'enable_server:bool:0'
|
'server:list(host)' 'enable_server:bool:0'
|
||||||
}
|
}
|
||||||
|
|
||||||
start_service() {
|
start_service() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user