From 0c02d2fb863a8bec0f965619046ff377e4627976 Mon Sep 17 00:00:00 2001 From: Maarten Segers Date: Sat, 28 Dec 2019 11:16:12 +0100 Subject: [PATCH] Add uninstall script Fixes #9. --- uninstall.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 uninstall.sh diff --git a/uninstall.sh b/uninstall.sh new file mode 100644 index 0000000..c9b289b --- /dev/null +++ b/uninstall.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +sudo rm -rf /opt/RetroFlag +sudo sed -i -e "s/^sudo python3.*//g" /etc/rc.local + +echo "RetroFlag Pi Case uninstallation done. Will now reboot after 3 seconds." +sleep 3 +sudo reboot