|
@ -122,7 +122,6 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then |
|
|
sudo systemctl stop apcupsd |
|
|
sudo systemctl stop apcupsd |
|
|
sudo systemctl disable apcupsd |
|
|
sudo systemctl disable apcupsd |
|
|
sudo apt-get remove -y apcupsd |
|
|
sudo apt-get remove -y apcupsd |
|
|
sudo rm -R /etc/apcupsd |
|
|
|
|
|
sudo sed -i "s/^ups=.*/ups=/g" /mnt/hdd/raspiblitz.conf |
|
|
sudo sed -i "s/^ups=.*/ups=/g" /mnt/hdd/raspiblitz.conf |
|
|
else |
|
|
else |
|
|
echo "FAIL: unknown UPSTYPE: ${ups}" |
|
|
echo "FAIL: unknown UPSTYPE: ${ups}" |
|
|