mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-22 16:10:55 +02:00
committed by
rootzoll
parent
7cb4027714
commit
f7f7d208d9
@@ -10,6 +10,7 @@ if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
source /mnt/hdd/raspiblitz.conf
|
source /mnt/hdd/raspiblitz.conf
|
||||||
|
echo "# bonus.cryptoadvance-specter.sh $1"
|
||||||
|
|
||||||
# show info menu
|
# show info menu
|
||||||
if [ "$1" = "menu" ]; then
|
if [ "$1" = "menu" ]; then
|
||||||
@@ -82,10 +83,6 @@ if [ "$1" = "status" ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# stop services
|
|
||||||
echo "# --> making sure the service is not running"
|
|
||||||
sudo systemctl stop cryptoadvance-specter 2>/dev/null
|
|
||||||
|
|
||||||
# switch on
|
# switch on
|
||||||
if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||||
echo "# --> INSTALL Cryptoadvance Specter ***"
|
echo "# --> INSTALL Cryptoadvance Specter ***"
|
||||||
@@ -262,6 +259,7 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then
|
|||||||
if [ ${isInstalled} -eq 1 ]; then
|
if [ ${isInstalled} -eq 1 ]; then
|
||||||
|
|
||||||
echo "# --> REMOVING Cryptoadvance Specter"
|
echo "# --> REMOVING Cryptoadvance Specter"
|
||||||
|
sudo systemctl stop cryptoadvance-specter
|
||||||
sudo systemctl disable cryptoadvance-specter
|
sudo systemctl disable cryptoadvance-specter
|
||||||
sudo rm /etc/systemd/system/cryptoadvance-specter.service
|
sudo rm /etc/systemd/system/cryptoadvance-specter.service
|
||||||
sudo -u bitcoin /home/bitcoin/.specter/.env/bin/python3 -m pip uninstall --yes cryptoadvance.specter
|
sudo -u bitcoin /home/bitcoin/.specter/.env/bin/python3 -m pip uninstall --yes cryptoadvance.specter
|
||||||
|
Reference in New Issue
Block a user