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