Skip to content

Commit

Permalink
fix: backing up plugins status files (fixes #990)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Apr 24, 2021
1 parent 713fe68 commit 9ec2646
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/backup.sh
Expand Up @@ -46,7 +46,14 @@ FILES_TO_BACKUP="/root/brain.nn \
/var/log/pwnagotchi*.gz \
/home/pi/.ssh \
/home/pi/.bashrc \
/home/pi/.profile"
/home/pi/.profile \
/root/.api-report.json \
/root/.auto-update \
/root/.bt-tether* \
/root/.net_pos_saved \
/root/.ohc_uploads \
/root/.wigle_uploads \
/root/.wpa_sec_uploads"

ping -c 1 "${UNIT_HOSTNAME}" > /dev/null 2>&1 || {
echo "@ unit ${UNIT_HOSTNAME} can't be reached, make sure it's connected and a static IP assigned to the USB interface."
Expand Down

0 comments on commit 9ec2646

Please sign in to comment.