add colour definitions
This commit is contained in:
parent
27cc38a9e0
commit
a8f53c8a3b
@ -5,6 +5,15 @@
|
|||||||
### original files
|
### 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
|
### Verify this script is running as root, otherwise exit with notification
|
||||||
if [ $(id -u) -ne 0 ]; then
|
if [ $(id -u) -ne 0 ]; then
|
||||||
echo -e "\n\e[1;31mThis script MUST be run as ROOT. Exiting\e[0m"
|
echo -e "\n\e[1;31mThis script MUST be run as ROOT. Exiting\e[0m"
|
||||||
|
Loading…
Reference in New Issue
Block a user