mirror of
https://github.com/brain-hackers/brain-config.git
synced 2026-11-07 15:12:37 +09:00
1 parent
4d1dc2e245
commit
84a6c79380
2 files changed
+4
-1
No files matched your search
+3
-1
@@ -758,7 +758,9 @@ do_ssh() {
|
||||
DEFAULT=
|
||||
fi
|
||||
if [ "$INTERACTIVE" = True ]; then
|
||||
whiptail --yesno "Would you like the SSH server to be enabled?" $DEFAULT 20 60 2
|
||||
whiptail --yesno \
|
||||
"Would you like the SSH server to be enabled?\n\nCaution: Default and weak passwords are a security risk when SSH is enabled!" \
|
||||
$DEFAULT 20 60 2
|
||||
RET=$?
|
||||
else
|
||||
RET=$1
|
||||
|
||||
Reference in new issue
Block a user