diff options
author | tylermurphy534 <tylermurphy534@gmail.com> | 2022-11-11 15:16:37 -0500 |
---|---|---|
committer | tylermurphy534 <tylermurphy534@gmail.com> | 2022-11-11 15:16:37 -0500 |
commit | 0443572477787936df9561371be45a038839f3e2 (patch) | |
tree | a6fdbe68a374dda0a2351807d89787894799d4ad /deployments/source/uninstall.sh | |
parent | doc string, refactor, config token error (diff) | |
download | crab-0443572477787936df9561371be45a038839f3e2.tar.gz crab-0443572477787936df9561371be45a038839f3e2.tar.bz2 crab-0443572477787936df9561371be45a038839f3e2.zip |
0.0.6
Diffstat (limited to 'deployments/source/uninstall.sh')
-rwxr-xr-x | deployments/source/uninstall.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/deployments/source/uninstall.sh b/deployments/source/uninstall.sh new file mode 100755 index 0000000..cf7ade8 --- /dev/null +++ b/deployments/source/uninstall.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +if [[ $(/usr/bin/id -u) -ne 0 ]]; then + echo "Please run this as root" + exit +fi + +# Delete crab files +rm /etc/pam.d/crab +rm /usr/bin/crab +rm -fr /usr/share/crab |