From 961b4250de4d1fd749c497cdbab37b59de7758e5 Mon Sep 17 00:00:00 2001 From: IncredInComp Date: Thu, 3 Oct 2019 00:58:23 -0700 Subject: [PATCH] Update update_pwnagotchi.sh --- scripts/update_pwnagotchi.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/update_pwnagotchi.sh b/scripts/update_pwnagotchi.sh index eae69d5f..97b8a89a 100644 --- a/scripts/update_pwnagotchi.sh +++ b/scripts/update_pwnagotchi.sh @@ -103,9 +103,9 @@ rm $GIT_FOLDER -rf if [ $RESTORECONFIG -eq 1 ]; then echo "[+] Restoring backup of config.yml and hostname references" mv /root/config.yml.bak /root/pwnagotchi/config.yml -f - mv /etc/hosts.bak /etc/hosts -f - mv /etc/hostname.bak /etc/hostname -f - mv /etc/network/interfaces.bak /etc/network/interfaces -f + mv /root/hosts.bak /etc/hosts -f + mv /root/hostname.bak /etc/hostname -f + mv /root/interfaces.bak /etc/network/interfaces -f fi echo "[+] Restarting pwnagotchi in $MODE mode. $( screen -X -S pwnagotchi quit)"