Update update_pwnagotchi.sh
This commit is contained in:
parent
f108ed95a7
commit
961b4250de
@ -103,9 +103,9 @@ rm $GIT_FOLDER -rf
|
|||||||
if [ $RESTORECONFIG -eq 1 ]; then
|
if [ $RESTORECONFIG -eq 1 ]; then
|
||||||
echo "[+] Restoring backup of config.yml and hostname references"
|
echo "[+] Restoring backup of config.yml and hostname references"
|
||||||
mv /root/config.yml.bak /root/pwnagotchi/config.yml -f
|
mv /root/config.yml.bak /root/pwnagotchi/config.yml -f
|
||||||
mv /etc/hosts.bak /etc/hosts -f
|
mv /root/hosts.bak /etc/hosts -f
|
||||||
mv /etc/hostname.bak /etc/hostname -f
|
mv /root/hostname.bak /etc/hostname -f
|
||||||
mv /etc/network/interfaces.bak /etc/network/interfaces -f
|
mv /root/interfaces.bak /etc/network/interfaces -f
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "[+] Restarting pwnagotchi in $MODE mode. $( screen -X -S pwnagotchi quit)"
|
echo "[+] Restarting pwnagotchi in $MODE mode. $( screen -X -S pwnagotchi quit)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user