fix dropbear config (#960)

SVN-Revision: 6117
This commit is contained in:
Felix Fietkau 2007-01-17 20:24:36 +00:00
parent 2bc7cf5b35
commit 38912058a0

View file

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