initial commit from old development
This commit is contained in:
18
linux-service/easy_uninstall.sh
Normal file
18
linux-service/easy_uninstall.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
cd /tmp
|
||||
|
||||
echo -e "\033[36m BSH GateWay Service.\033[0m"
|
||||
systemctl stop bsh-gateway.service
|
||||
|
||||
|
||||
### Uninstalling BSH GateWay
|
||||
echo -e "\033[36m Uninstalling BSH GateWay.\033[0m"
|
||||
|
||||
rm -rf /opt/bsh-gateway/
|
||||
|
||||
systemctl disable bsh-gateway.service
|
||||
rm /lib/systemd/system/bsh-gateway.service
|
||||
systemctl daemon-reload
|
||||
|
||||
|
||||
echo -e "\033[32m Uninstall complete!\033[0m"
|
||||
Reference in New Issue
Block a user