mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
[fix] Provide feedback when first running script, and execute whiptail commands
This commit is contained in:
@@ -26,7 +26,7 @@ export setup_type
|
||||
|
||||
case "$setup_type" in
|
||||
iso | network) # Accepted values
|
||||
true
|
||||
echo "Beginning Security Onion $setup_type install"
|
||||
;;
|
||||
*)
|
||||
echo "Invalid install type, must be 'iso' or 'network'"
|
||||
@@ -49,9 +49,7 @@ fi
|
||||
|
||||
setterm -blank 0
|
||||
|
||||
if whiptail_you_sure; then
|
||||
true
|
||||
else
|
||||
if ! (whiptail_you_sure); then
|
||||
echo "User cancelled setup.">> $setup_log 2>&1
|
||||
whiptail_cancel
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user