Explorar o código

fix dropbear config (#960)

SVN-Revision: 6117
Felix Fietkau %!s(int64=19) %!d(string=hai) anos
pai
achega
38912058a0
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      package/dropbear/files/dropbear.init

+ 3 - 3
package/dropbear/files/dropbear.init

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