Merge pull request #136 from simpsora/rs-fix-update-config-filename
Fix incorrect config filename in update script
This commit is contained in:
commit
f31dc5263f
@ -89,7 +89,7 @@ fi
|
|||||||
|
|
||||||
if [ $BACKUPCONFIG -eq 1 ]; then
|
if [ $BACKUPCONFIG -eq 1 ]; then
|
||||||
echo "[+] Creating backup of config.yml and hostname references"
|
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/hosts /root/hosts.bak -f
|
||||||
mv /etc/hostname /root/hostname.bak -f
|
mv /etc/hostname /root/hostname.bak -f
|
||||||
mv /etc/motd /etc/motd.bak -f
|
mv /etc/motd /etc/motd.bak -f
|
||||||
|
Loading…
x
Reference in New Issue
Block a user