haveno/seednode/uninstall_seednode_debian.sh

12 lines
315 B
Bash
Raw Normal View History

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