From 9ec2646347f8e03e4b0b66ec8e9426e261b3f50d Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Sat, 24 Apr 2021 15:59:45 +0200 Subject: [PATCH] fix: backing up plugins status files (fixes #990) --- scripts/backup.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/backup.sh b/scripts/backup.sh index 6b91917fd..15aa3d8a5 100755 --- a/scripts/backup.sh +++ b/scripts/backup.sh @@ -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."