mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
backup.sh:
- Add use getopts for a more friendly user interface.
- Add timeout to ping check.
- Add unix epoch to backup file names.
- Backup ssh information (/etc/ssh, $USER/.ssh).
restore.sh:
- Add use getopts for a more friendly user interface.
- Add timeout to ping check.
- If user doesn't specify a backup file to restore, attempt to
find the latest for the host name passed in.
Signed-off-by: Aaron Bieber <aaron@bolddaemon.com>