add title function

This commit is contained in:
m0duspwnens
2020-10-06 10:49:38 -04:00
parent 2420cd5db1
commit 85168e9318

View File

@@ -23,6 +23,10 @@ fi
INSTALL_LOG=/root/so-analyst-install.log
exec &> >(tee -a "$INSTALL_LOG")
title() {
echo -e "\n-----------------------------\n $1\n-----------------------------\n" >> "$setup_log" 2>&1
}
logCmd() {
cmd=$1
info "Executing command: $cmd"