Merge pull request #76 from incredincomp/master

fixed file paths
This commit is contained in:
evilsocket 2019-10-03 10:00:38 +02:00 committed by GitHub
commit 28e82f2a4e
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)"