diff --git a/README.md b/README.md index f1676d7..b99472c 100644 --- a/README.md +++ b/README.md @@ -65,3 +65,8 @@ Example for RecalBox: 5. In the terminal, type the one-line command below(Case sensitive): wget -O - "https://raw.githubusercontent.com/RetroFlag/retroflag-picase/master/recalbox_install.sh" | bash + + +# Uninstallation + +wget -O - "https://raw.githubusercontent.com/RetroFlag/retroflag-picase/master/uninstall.sh" | sudo bash 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