mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-20 10:14:43 +02:00
fix dropbear config (#960)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6117 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4b41d5b940
commit
23d76c341a
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user