IDH - Play tweaks, Setup summary, log rotate

This commit is contained in:
Josh Brower
2022-02-24 19:57:11 -05:00
parent fbc702375c
commit cf7325a546
20 changed files with 93 additions and 22 deletions

View File

@@ -451,7 +451,7 @@ collect_idh_services() {
whiptail_idh_services
case "$idh_services" in
'Linux Webserver')
'Linux Webserver (NAS Skin)')
idh_services=("HTTP" "FTP" "SSH")
;;
'MySQL Server')

View File

@@ -732,10 +732,10 @@ whiptail_idh_services() {
idh_services=$(whiptail --title "$whiptail_title" --radiolist \
"\nThe IDH node can mimic many different services.\n\nChoose one of the common options along with their default ports (TCP) or select the Custom option to build a customized set of services." 20 75 5 \
"Linux Webserver" "Apache (80), FTP (21), SSH (22)" ON \
"Linux Webserver (NAS Skin)" "Apache (80), FTP (21), SSH (22)" ON \
"MySQL Server" "MySQL (3306), SSH (22)" OFF \
"MSSQL Server" "Microsoft SQL (1433), VNC (5900)" OFF \
"Custom" "Select a custom set of services on next screen" OFF 3>&1 1>&2 2>&3 )
"Custom" "Select a custom set of services" OFF 3>&1 1>&2 2>&3 )
local exitstatus=$?
whiptail_check_exitstatus $exitstatus
@@ -1784,6 +1784,8 @@ whiptail_setup_complete() {
local sentence_prefix="Run so-allow after reboot to access"
fi
local accessMessage="\n${sentence_prefix} the web interface at: https://${REDIRECTIT}\n"
elif [[ $is_idh ]]; then
local accessMessage="SSH for this node has been moved to TCP/2222, accessible only from the Manager node."
else
local accessMessage=""
fi