14 lines
314 B
Text
14 lines
314 B
Text
|
#!/bin/bash
|
||
|
|
||
|
sudo rm /etc/nodemecu.conf
|
||
|
sudo rm /usr/bin/nodemecu
|
||
|
sudo crontab -u root -r
|
||
|
sudo rm -rf /opt/nodemecu/
|
||
|
sed -i '/*sudo nodemecu*/d' $HOME/.bashrc
|
||
|
sudo rm /lib/systemd/system/nodemecu.service
|
||
|
sudo systemctl stop nodemecu.service
|
||
|
sudo systemctl disable nodemecu.service
|
||
|
sudo systemctl daemon-reload
|
||
|
|
||
|
|