haveno/seednode/uninstall_seednode_debian.sh

12 lines
315 B
Bash
Raw Normal View History

2021-05-05 00:20:01 +00:00
#!/bin/sh
echo "[*] Uninstalling Bitcoin and Haveno, will delete all data!!"
2021-05-05 00:20:01 +00:00
sleep 10
sudo rm -rf /root/haveno
2021-05-05 00:20:01 +00:00
sudo systemctl stop bitcoin
sudo systemctl stop haveno-seednode
2021-05-05 00:20:01 +00:00
sudo systemctl disable bitcoin
sudo systemctl disable haveno-seednode
sudo userdel -f -r haveno
2021-05-05 00:20:01 +00:00
sudo userdel -f -r bitcoin
echo "[*] Done!"