pierwszy sprint
[0tDNS.git] / uninstall.sh
blob55e1f3e3f147e6c9610fa216c2c806582ae38eaf
1 #!/bin/sh
3 # run as root, obviously
5 # revert what was done in setup.sh
6 userdel 0tdns
8 # if told to - also revert what was done in install.sh
9 if [ "x$1" = "x--delete-files" ]; then
10 rm -r /var/lib/0tdns/
11 rm -r /etc/netns/0tdns*
12 rm /usr/sbin/hourly.sh /usr/sbin/hourly.py
13 rm -r /etc/0tdns