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 ef69e90..58b0bc2 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