Update build.func

This commit is contained in:
tteckster 2023-05-10 20:32:35 -04:00 committed by GitHub
parent b11f99abf6
commit 9940fa8613
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -363,13 +363,15 @@ advanced_settings() {
exit-script
fi
if [[ "$PW" == "-password *" ]]; then
if [[ "$PW" == -password* ]]; then
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
SSH="yes"
else
SSH="no"
fi
echo -e "${DGN}Enable Root SSH Access: ${BGN}$SSH${CL}"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}no${CL}"
fi
if [[ "$APP" == "Docker" || "$APP" == "Umbrel" || "$APP" == "CasaOS" || "$APP" == "Home Assistant" ]]; then