mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-24 07:20:23 +02:00
#707 clean dir after deinstall
This commit is contained in:
parent
7d8c59250e
commit
e3c2ea34ff
@ -122,6 +122,7 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then
|
||||
sudo systemctl stop apcupsd
|
||||
sudo systemctl disable apcupsd
|
||||
sudo apt-get remove -y apcupsd
|
||||
sudo rm -R /etc/apcupsd
|
||||
sudo sed -i "s/^ups=.*/ups=/g" /mnt/hdd/raspiblitz.conf
|
||||
else
|
||||
echo "FAIL: unknown UPSTYPE: ${ups}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user