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
|
case "$setup_type" in
|
||||||
iso | network) # Accepted values
|
iso | network) # Accepted values
|
||||||
true
|
echo "Beginning Security Onion $setup_type install"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Invalid install type, must be 'iso' or 'network'"
|
echo "Invalid install type, must be 'iso' or 'network'"
|
||||||
@@ -49,9 +49,7 @@ fi
|
|||||||
|
|
||||||
setterm -blank 0
|
setterm -blank 0
|
||||||
|
|
||||||
if whiptail_you_sure; then
|
if ! (whiptail_you_sure); then
|
||||||
true
|
|
||||||
else
|
|
||||||
echo "User cancelled setup.">> $setup_log 2>&1
|
echo "User cancelled setup.">> $setup_log 2>&1
|
||||||
whiptail_cancel
|
whiptail_cancel
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user