From e5e0180f3cd09055b8b6905ea6960a896df4b2a7 Mon Sep 17 00:00:00 2001 From: jayofelony Date: Mon, 4 Mar 2024 15:32:08 +0100 Subject: [PATCH] Add a interactive configuration installer --- bin/pwnagotchi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pwnagotchi b/bin/pwnagotchi index 715b72d9..ebd88e31 100755 --- a/bin/pwnagotchi +++ b/bin/pwnagotchi @@ -164,7 +164,7 @@ if __name__ == '__main__': if pwn_check.lower() in ('y', 'yes'): pwn_restore = input("Do you want to restore the previous configuration? [y/n]") if pwn_restore in ('y', 'yes'): - os.system("mv -f /etc/pwnagotchi/config.toml.bak /etc/pwnagotchi.config.toml") + os.system("mv -f /etc/pwnagotchi/config.toml.bak /etc/pwnagotchi/config.toml") else: os.system("mv -f /etc/pwnagotchi/config.toml /etc/pwnagotchi/config.toml.bak") with open("/etc/pwnagotchi/config.toml", "a+") as f: