summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-11-13 11:07:24 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-11-13 11:07:24 +0000
commit2578df0be01476ab28dd1e5ebd24f726204ceabf (patch)
treec3d7804a283c8e8eecd8f28a990fbb58bd352282
parent3099910abd0e08266e55f1e3c2b5de2beddc4117 (diff)
procd: fixup 2 wrong option types
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38789 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xpackage/network/services/dropbear/files/dropbear.init2
-rwxr-xr-xpackage/utils/busybox/files/sysntpd2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/dropbear/files/dropbear.init b/package/network/services/dropbear/files/dropbear.init
index 97017dd4a8..ebef526390 100755
--- a/package/network/services/dropbear/files/dropbear.init
+++ b/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' \
diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd
index 7ff32775b6..6475e04d22 100755
--- a/package/utils/busybox/files/sysntpd
+++ b/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() {