add colour definitions

This commit is contained in:
Asif Bacchus 2019-01-09 00:55:38 -07:00
parent 27cc38a9e0
commit a8f53c8a3b

View File

@ -5,6 +5,15 @@
### original files
#######
# colour definitions
norm="\e[0m"
yellow="\e[93m"
cyan="\e[96m"
mag="\e[95m"
err="\e[1;31m"
ok="\e[1;32m"
### Verify this script is running as root, otherwise exit with notification
if [ $(id -u) -ne 0 ]; then
echo -e "\n\e[1;31mThis script MUST be run as ROOT. Exiting\e[0m"