Setup Script - added setup complete

This commit is contained in:
Mike Reeves
2018-03-23 16:31:13 -04:00
parent 9acd760ca4
commit f751e72518

View File

@@ -406,7 +406,10 @@ whiptail_sensor_config() {
whiptail_check_exitstatus $exitstatus whiptail_check_exitstatus $exitstatus
} }
whiptail_setup_complete() {
whiptail --title "Security Onion Setup" --msgbox "Finished installing this as an $INSTALLTYPE. A reboot is recommended." 8 78
exit
}
whiptail_you_sure() { whiptail_you_sure() {
whiptail --title "Security Onion Setup" --yesno "Are you sure you want to install Security Onion over the internet?" 8 78 whiptail --title "Security Onion Setup" --yesno "Are you sure you want to install Security Onion over the internet?" 8 78
@@ -445,6 +448,9 @@ if (whiptail_you_sure) then
whiptail_oinkcode whiptail_oinkcode
fi fi
# Last Chance to back out
whiptail_make_changes
# Install salt and dependencies # Install salt and dependencies
echo "Saltifying" echo "Saltifying"
saltify saltify