From 21e266c50d01107f79db5de9fd81733bd26fcbf3 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 6 Mar 2022 12:22:25 -0500 Subject: [PATCH] Update zwavejs2mqtt_container.sh --- ct/zwavejs2mqtt_container.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/ct/zwavejs2mqtt_container.sh b/ct/zwavejs2mqtt_container.sh index c944d824..3b49ad4c 100644 --- a/ct/zwavejs2mqtt_container.sh +++ b/ct/zwavejs2mqtt_container.sh @@ -1,4 +1,10 @@ #!/usr/bin/env bash +YW=`echo "\033[33m"` +BL=`echo "\033[36m"` +RD=`echo "\033[01;31m"` +CM='\xE2\x9C\x94\033' +GN=`echo "\033[1;92m"` +CL=`echo "\033[m"` while true; do read -p "This will create a New Zwavejs2MQTT LXC Container. Proceed(y/n)?" yn @@ -8,6 +14,20 @@ while true; do * ) echo "Please answer yes or no.";; esac done +function header_info { +echo -e "${RD} + ______ _ ___ __ __ ____ _______ _______ + |___ / (_) |__ \| \/ |/ __ \__ __|__ __| + / /_ ____ ___ _____ _ ___ ) | \ / | | | | | | | | + / /\ \ /\ / / _ \ \ / / _ \ / __| / /| |\/| | | | | | | | | + / /__\ V V / (_| |\ V / __/ \__ \/ /_| | | | |__| | | | | | + /_____|\_/\_/ \__,_| \_/ \___| |___/____|_| |_|\___\_\ |_| |_| + _/ | + |__/ +${CL}" +} + +header_info set -o errexit set -o errtrace