upgrade packages for debian and reboot prior to so installation

This commit is contained in:
m0duspwnens
2023-07-25 16:06:38 -04:00
parent e334d44c95
commit 60eb1611ea
2 changed files with 27 additions and 0 deletions

View File

@@ -27,6 +27,23 @@ whiptail_airgap() {
fi
}
whiptail_debian_reboot_required() {
[ -n "$TESTING" ] && return
read -r -d '' message <<- EOM
Packages were upgraded and a reboot is required prior to Security Onion installation.
Press TAB and then the ENTER key to reboot the system.
Once the reboot has completed, rerun Security Onion setup.
EOM
whiptail --title "$whiptail_title" --msgbox "$message" 24 75 --scrolltext
}
whiptail_desktop_install() {
[ -n "$TESTING" ] && return