From e3c2ea34ff9f90cc4f0f3d0f2d065a891e95116a Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Wed, 7 Aug 2019 22:12:02 +0200 Subject: [PATCH] #707 clean dir after deinstall --- home.admin/config.scripts/blitz.ups.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/home.admin/config.scripts/blitz.ups.sh b/home.admin/config.scripts/blitz.ups.sh index c0f38f3..ec52642 100644 --- a/home.admin/config.scripts/blitz.ups.sh +++ b/home.admin/config.scripts/blitz.ups.sh @@ -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}"