From da156fde4bb1e3fde89bac051adaa77f80c56b4b Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Sat, 8 Mar 2025 09:12:00 +0100 Subject: [PATCH] defaults.toml small edit Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/defaults.toml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pwnagotchi/defaults.toml b/pwnagotchi/defaults.toml index cc3663cb..94d4e95d 100644 --- a/pwnagotchi/defaults.toml +++ b/pwnagotchi/defaults.toml @@ -21,11 +21,12 @@ custom_plugins = "/usr/local/share/pwnagotchi/custom-plugins/" [main.plugins.auto-tune] enabled = true -main.plugins.auto_backup.enabled = true -main.plugins.auto_backup.interval = "daily" # or "hourly", or a number (minutes) -main.plugins.auto_backup.max_tries = 0 -main.plugins.auto_backup.backup_location = "/home/pi/" -main.plugins.auto_backup.files = [ +[main.plugins.auto_backup] +enabled = false +interval = "daily" # or "hourly", or a number (minutes) +max_tries = 0 +backup_location = "/home/pi/" +files = [ "/root/settings.yaml", "/root/client_secrets.json", "/root/.api-report.json", @@ -39,10 +40,10 @@ main.plugins.auto_backup.files = [ "/etc/ssh/", "/home/pi/.bashrc", "/home/pi/.profile", - "/home/pi/.wpa_sec_uploads", + "/home/pi/.wpa_sec_uploads" ] -main.plugins.auto_backup.exclude = [ "/etc/pwnagotchi/logs/*",] -main.plugins.auto_backup.commands = [ "tar cf {backup_file} {files}",] +exclude = [ "/etc/pwnagotchi/logs/*",] +commands = [ "tar cf {backup_file} {files}",] [main.plugins.auto-update] enabled = true