summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig9
1 files changed, 7 insertions, 2 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 0c9a6ef0b9..2649eeb058 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -60,12 +60,17 @@ config CMD_MENU_MANAGEMENT
depends on CMD_MENU
prompt "menu scripts management"
-config CMD_PASSWD
+config CMD_LOGIN
tristate
select PASSWORD
+ prompt "login"
+
+config CMD_PASSWD
+ tristate
+ select CMD_LOGIN
prompt "passwd"
-if CMD_PASSWD
+if CMD_LOGIN || CMD_PASSWD
choice
prompt "passwd mode"