fix dropbear config (#960)
[openwrt/staging/yousong.git] / package / dropbear / files / dropbear.init
index ef69e9017603105f9a5d7c56e42d05b2c2fe7ba5..58b0bc2fabe99b032663c97b0f5ffc305ef42f4a 100755 (executable)
@@ -5,10 +5,10 @@
 config_cb() {
        local cfg="$CONFIG_SECTION"
        local nopasswd
-       local type
-       config_get cfgtype "$cfg" TYPE
+       local cfgt
+       config_get cfgt "$cfg" TYPE
 
-       case "$cfgtype" in
+       case "$cfgt" in
                dropbear)
                        config_get passauth $cfg PasswordAuth
                        config_get port $cfg Port