add remove script

This commit is contained in:
rnsrk 2021-09-28 12:31:31 +02:00
parent 5af5cf1850
commit aa6c71eb01
3 changed files with 17 additions and 6 deletions

View file

@ -1,14 +0,0 @@
#!/usr/bin/env bash
# Colors for text lines
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
RED='\033[0;31m'
NC='\033[0m'
# Check if executer is root
if [ "$EUID" -ne 0 ]; then
echo -e "${RED}Please run as root!"
exit
fi