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 97017dd4a89502e8ab3bcc265063b9675d71423c..ebef5263908f35c08c5b913a3ecc610ade624354 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 7ff32775b67a6ba9c1fc3788b101b5ccb9ad7be7..6475e04d22ff1645a9009acee0ad9640a2f5bb02 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() {