Merge pull request from simpsora/rs-fix-update-config-filename

Fix incorrect config filename in update script
This commit is contained in:
evilsocket 2019-10-04 14:29:56 +02:00 committed by GitHub
commit f31dc5263f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -89,7 +89,7 @@ fi
if [ $BACKUPCONFIG -eq 1 ]; then
echo "[+] Creating backup of config.yml and hostname references"
mv /root/pwnagotchi/config.yml /root/config.bak -f
mv /root/pwnagotchi/config.yml /root/config.yml.bak -f
mv /etc/hosts /root/hosts.bak -f
mv /etc/hostname /root/hostname.bak -f
mv /etc/motd /etc/motd.bak -f