Browse Source

procd: fixup 2 wrong option types

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 38789
John Crispin 12 years ago
parent
commit
a9cfb4b827

+ 1 - 1
package/network/services/dropbear/files/dropbear.init

@@ -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' \

+ 1 - 1
package/utils/busybox/files/sysntpd

@@ -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() {