Update update_pwnagotchi.sh

This commit is contained in:
IncredInComp 2019-10-03 00:58:23 -07:00 committed by GitHub
parent f108ed95a7
commit 961b4250de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)"