fix dropbear config (#960)
authorFelix Fietkau <nbd@openwrt.org>
Wed, 17 Jan 2007 20:24:36 +0000 (20:24 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 17 Jan 2007 20:24:36 +0000 (20:24 +0000)
SVN-Revision: 6117

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