Update install uninstall pi-power-button

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

@ -709,7 +709,8 @@ else
FLAG=1
fi
if [ ! -d "/home/pi/pi-pushbutton" ]; 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
fi

Loading…
Cancel
Save

Powered by TurnKey Linux.