mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
add title function
This commit is contained in:
@@ -23,6 +23,10 @@ fi
|
|||||||
INSTALL_LOG=/root/so-analyst-install.log
|
INSTALL_LOG=/root/so-analyst-install.log
|
||||||
exec &> >(tee -a "$INSTALL_LOG")
|
exec &> >(tee -a "$INSTALL_LOG")
|
||||||
|
|
||||||
|
title() {
|
||||||
|
echo -e "\n-----------------------------\n $1\n-----------------------------\n" >> "$setup_log" 2>&1
|
||||||
|
}
|
||||||
|
|
||||||
logCmd() {
|
logCmd() {
|
||||||
cmd=$1
|
cmd=$1
|
||||||
info "Executing command: $cmd"
|
info "Executing command: $cmd"
|
||||||
|
|||||||
Reference in New Issue
Block a user