procd: fixup 2 wrong option types
authorJohn Crispin <john@openwrt.org>
Wed, 13 Nov 2013 11:07:24 +0000 (11:07 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 13 Nov 2013 11:07:24 +0000 (11:07 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38789

package/network/services/dropbear/files/dropbear.init
package/utils/busybox/files/sysntpd

index 97017dd..ebef526 100755 (executable)
@@ -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' \
index 7ff3277..6475e04 100755 (executable)
@@ -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() {