mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-21 00:13:06 +01:00
Setup Script - added setup whiptail colors
This commit is contained in:
@@ -300,6 +300,14 @@ whiptail_bond_nics() {
|
|||||||
whiptail_check_exitstatus $exitstatus
|
whiptail_check_exitstatus $exitstatus
|
||||||
|
|
||||||
}
|
}
|
||||||
|
whiptail_colors() {
|
||||||
|
NEWT_COLORS='
|
||||||
|
window=,red
|
||||||
|
border=white,red
|
||||||
|
textbox=white,red
|
||||||
|
button=black,white
|
||||||
|
' \
|
||||||
|
}
|
||||||
|
|
||||||
whiptail_check_exitstatus() {
|
whiptail_check_exitstatus() {
|
||||||
if [ $1 == '1' ]; then
|
if [ $1 == '1' ]; then
|
||||||
@@ -418,6 +426,7 @@ whiptail_you_sure() {
|
|||||||
# End Functions
|
# End Functions
|
||||||
|
|
||||||
# Check for prerequisites
|
# Check for prerequisites
|
||||||
|
whiptail_colors
|
||||||
echo "Checking for Root"
|
echo "Checking for Root"
|
||||||
got_root
|
got_root
|
||||||
echo "Detecting OS"
|
echo "Detecting OS"
|
||||||
|
|||||||
Reference in New Issue
Block a user