diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-05-22 03:45:13 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-05-22 03:45:13 +0200 |
commit | 7f926471b86ac3f8796bc32c83f87fb145466056 (patch) | |
tree | 03f56c5e7be39b01efc55eac7a24417209018c58 | |
parent | b59756351ede9a42f43175fc7e48dc5f323f5ee0 (diff) | |
download | 0tdns-7f926471b86ac3f8796bc32c83f87fb145466056.tar.gz 0tdns-7f926471b86ac3f8796bc32c83f87fb145466056.zip |
add script that reverts what install.sh did
-rwxr-xr-x | uninstall.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/uninstall.sh b/uninstall.sh new file mode 100755 index 0000000..f98fe42 --- /dev/null +++ b/uninstall.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +# revert what was done in install.sh +rm -rf /var/lib/0tdns/ + +rm -rf /etc/netns/0tdns/ + +userdel 0tdns |