fix dropbear config (#960)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6117 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
0fce01ddb7
commit
15d5a8b1c1
|
@ -5,10 +5,10 @@
|
||||||
config_cb() {
|
config_cb() {
|
||||||
local cfg="$CONFIG_SECTION"
|
local cfg="$CONFIG_SECTION"
|
||||||
local nopasswd
|
local nopasswd
|
||||||
local type
|
local cfgt
|
||||||
config_get cfgtype "$cfg" TYPE
|
config_get cfgt "$cfg" TYPE
|
||||||
|
|
||||||
case "$cfgtype" in
|
case "$cfgt" in
|
||||||
dropbear)
|
dropbear)
|
||||||
config_get passauth $cfg PasswordAuth
|
config_get passauth $cfg PasswordAuth
|
||||||
config_get port $cfg Port
|
config_get port $cfg Port
|
||||||
|
|
Loading…
Reference in New Issue