add remove config script
This commit is contained in:
parent
332f0ad288
commit
e37ccb4d23
2 changed files with 76 additions and 55 deletions
14
.remove_site
Executable file
14
.remove_site
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue