mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
Avoid reusing header function from so-common
This commit is contained in:
@@ -36,7 +36,7 @@ info() {
|
||||
log "$1" "I"
|
||||
}
|
||||
|
||||
header() {
|
||||
title() {
|
||||
echo -e "-----------------------------\n $1\n-----------------------------\n" >> "$setup_log" 2>&1
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ logCmd() {
|
||||
}
|
||||
|
||||
analyze_system() {
|
||||
header "System Characteristics"
|
||||
title "System Characteristics"
|
||||
logCmd "uptime"
|
||||
logCmd "uname -a"
|
||||
logCmd "free -h"
|
||||
|
||||
@@ -49,7 +49,7 @@ done
|
||||
# Begin Installation pre-processing
|
||||
parse_install_username
|
||||
|
||||
header "Initializing Setup"
|
||||
title "Initializing Setup"
|
||||
info "Installing as the $INSTALLUSERNAME user"
|
||||
|
||||
analyze_system
|
||||
|
||||
Reference in New Issue
Block a user