adding /etc/network/interfaces from PR#71

This commit is contained in:
sp3nx0r 2019-10-02 16:16:43 -05:00
parent 66ef818ec8
commit 690f59a846

@ -94,6 +94,7 @@ if [ $BACKUPCONFIG -eq 1 ]; then
mv /etc/hosts /etc/hosts.bak -f
mv /etc/hostname /etc/hostname.bak -f
mv /etc/motd /etc/motd.bak -f
mv /etc/network/interfaces /etc/network/interfaces.bak -f
fi
echo "[+] Installing $(git log -1 --format="%h")"
@ -110,6 +111,7 @@ if [ $RESTORECONFIG -eq 1 ]; then
mv /etc/hosts.bak /etc/hosts -f
mv /etc/hostname.bak /etc/hostname -f
mv /etc/motd.bak /etc/motd -f
mv /etc/network/interfaces.bak /etc/network/interfaces -f
fi
echo "[+] Restarting pwnagotchi in $MODE mode. $( screen -X -S pwnagotchi quit)"