mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Set standalone to load Xwindows
This commit is contained in:
@@ -169,13 +169,6 @@ calculate_useable_cores() {
|
|||||||
export lb_procs
|
export lb_procs
|
||||||
}
|
}
|
||||||
|
|
||||||
catch() {
|
|
||||||
info "Fatal error occurred at $1 in so-setup, failing setup."
|
|
||||||
grep --color=never "ERROR" "$setup_log" > "$error_log"
|
|
||||||
whiptail_setup_failed
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
check_admin_pass() {
|
check_admin_pass() {
|
||||||
check_pass_match "$ADMINPASS1" "$ADMINPASS2" "APMATCH"
|
check_pass_match "$ADMINPASS1" "$ADMINPASS2" "APMATCH"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -135,7 +135,12 @@ fi
|
|||||||
# Set up handler for setup to exit early (use `kill -SIGUSR1 "$setup_proc"; exit 1` in child scripts)
|
# Set up handler for setup to exit early (use `kill -SIGUSR1 "$setup_proc"; exit 1` in child scripts)
|
||||||
trap 'catch $LINENO' SIGUSR1
|
trap 'catch $LINENO' SIGUSR1
|
||||||
setup_proc="$$"
|
setup_proc="$$"
|
||||||
catch
|
catch() {
|
||||||
|
info "Fatal error occurred at $1 in so-setup, failing setup."
|
||||||
|
grep --color=never "ERROR" "$setup_log" > "$error_log"
|
||||||
|
whiptail_setup_failed
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
automated=no
|
automated=no
|
||||||
progress
|
progress
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user