Uninitialize listener.
This commit is contained in:
committed by
GitHub
parent
387941f3e3
commit
78fb76ed14
@@ -5,6 +5,7 @@ set -e
|
|||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
echo "=> Stopping shutdown listener...\n"
|
echo "=> Stopping shutdown listener...\n"
|
||||||
|
sudo update-rc.d listen-for-shutdown.sh remove
|
||||||
sudo /etc/init.d/listen-for-shutdown.sh stop
|
sudo /etc/init.d/listen-for-shutdown.sh stop
|
||||||
|
|
||||||
echo "=> Removing shutdown listener...\n"
|
echo "=> Removing shutdown listener...\n"
|
||||||
@@ -12,4 +13,4 @@ sudo rm -rf /usr/local/bin/listen-for-shutdown.py
|
|||||||
sudo rm -rf /etc/init.d/listen-for-shutdown.sh
|
sudo rm -rf /etc/init.d/listen-for-shutdown.sh
|
||||||
|
|
||||||
echo "Shutdown listener uninstalled.\n"
|
echo "Shutdown listener uninstalled.\n"
|
||||||
echo "Check out howchoo.com for more awesome Pi projects!"
|
echo "Check out howchoo.com for more awesome Pi projects!"
|
||||||
|
|||||||
Reference in New Issue
Block a user