From 609bff936b2b184b1bf04e458fbe1ce228b09aa7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 21 Feb 2022 22:29:39 -0500 Subject: [PATCH] Update haos_vm.sh --- vm/haos_vm.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/vm/haos_vm.sh b/vm/haos_vm.sh index 1b4a6071..bdb57f2b 100644 --- a/vm/haos_vm.sh +++ b/vm/haos_vm.sh @@ -9,16 +9,28 @@ while true; do esac done clear +CL=`echo "\033[m"` +BL=`echo "\033[36m"` +function header_info { +echo -e "${BL} + _ _ ____ _____ + | | | | /\ / __ \ / ____| + | |__| | / \ | | | | (___ + | __ | / /\ \| | | |\___ \ + | | | |/ ____ \ |__| |____) | + |_| |_/_/ \_\____/|_____/ + +${CL}" +} +header_info set -o errexit set -o errtrace set -o nounset set -o pipefail shopt -s expand_aliases alias die='EXIT=$? LINE=$LINENO error_exit' -BL=`echo "\033[36m"` CM='\xE2\x9C\x94\033' GN=`echo "\033[1;92m"` -CL=`echo "\033[m"` trap die ERR trap cleanup EXIT function error_exit() {