Update install fix uninstall pi-power-button

master-bw
Alan Johnston 2 months ago committed by GitHub
parent b0757b4827
commit 3203f07bf1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -709,7 +709,7 @@ else
FLAG=1
fi
if [ ! -d "/home/pi/pi-power-button" ]; then
if [ -d "/home/pi/pi-power-button" ]; then
echo "Uninstalling pi-power-button"
pkill -f /usr/local/bin/listen-for-shutdown.py > /dev/null
sudo rm /etc/init.d/listen-for-shutdown.sh stop > /dev/null

Loading…
Cancel
Save

Powered by TurnKey Linux.