-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathuninstall.sh
31 lines (25 loc) · 970 Bytes
/
uninstall.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
OKBLUE='\033[94m'
OKRED='\033[91m'
OKGREEN='\033[92m'
OKORANGE='\033[93m'
RESET='\e[0m'
echo ""
echo -e "$OKGREEN ___ ___ $RESET"
echo -e "$OKGREEN \ / $RESET"
echo -e "$OKGREEN ....\||/.... $RESET"
echo -e "$OKGREEN . . . . $RESET"
echo -e "$OKGREEN . .. . $RESET"
echo -e "$OKGREEN . 0 .. 0 . $RESET"
echo -e "$OKGREEN /\/\. . . ./\/\ $RESET"
echo -e "$OKGREEN / / / .../| |\... \ \ \ $RESET"
echo -e "$OKGREEN / / / \/ \ \ \ $RESET"
echo -e "$RESET"
echo -e "$OKORANGE +----=[Kn0ck by @Mils]=----+ $RESET"
echo ""
INSTALL_DIR=/usr/share/knock
echo -e "$OKGREEN + -- --=[This script will uninstall knock and remove ALL files under $INSTALL_DIR. Are you sure you want to continue?]=-- --+ $RESET"
read answer
rm -Rf /usr/share/knock/
rm -f /usr/bin/knock
echo -e "$OKORANGE + -- --=[Done!]=-- --+ $RESET"