From 06e1115ceff82567a93736b134a07f943c44d83b Mon Sep 17 00:00:00 2001 From: Cassiano Aquino Date: Fri, 11 Oct 2019 12:51:57 +0100 Subject: [PATCH 1/2] add motd and defaults.yml disclaimer --- builder/pwnagotchi.yml | 28 +++++++++++++++++++++++++++- pwnagotchi/defaults.yml | 6 ++++++ 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/builder/pwnagotchi.yml b/builder/pwnagotchi.yml index 1e37a95..1d75ca3 100644 --- a/builder/pwnagotchi.yml +++ b/builder/pwnagotchi.yml @@ -443,7 +443,33 @@ - name: configure motd copy: dest: /etc/motd - content: "(◕‿‿◕) {{pwnagotchi.hostname}} (pwnagotchi-{{pwnagotchi.version}})" + content: | + (◕‿‿◕) {{pwnagotchi.hostname}} (pwnagotchi-{{pwnagotchi.version}}) + + Hi! I'm a pwnagotchi, please take good care of me! + Here are some basic things you need to know to raise me properly! + + If you want to change my configuration, use /etc/pwnagotchi/config.yml + + All the configuration options can be found on /etc/pwnagotchi/defaults.yml, + but don't change this file because I will recreate it every time I'm restarted! + + I'm managed by systemd, so here are some basic commands. + + You can check my logs, to know what I'm doing, using + journactl -fu pwnagotchi + + If you want to you if I'm running, you can use + systemctl status pwnagotchi + + You can restart me using + systemctl restart pwnagotchi + + But be aware you will go into MANUAL mode when restarted! + You can put me back into AUTO mode using + touch /root/.pwnagotchi-auto && systemctl restart pwnagotchi + + You learn more about me at https://pwnagotchi.ai/ - name: clean apt cache apt: diff --git a/pwnagotchi/defaults.yml b/pwnagotchi/defaults.yml index e6787c7..94973c5 100644 --- a/pwnagotchi/defaults.yml +++ b/pwnagotchi/defaults.yml @@ -1,3 +1,9 @@ +# WARNING WARNING WARNING WARNING +# +# This file is recreated with default settings on every pwnagotchi restart, +# use /etc/pwnagotchi/config.yml to configure this unit. +# +# # main algorithm configuration main: # currently implemented: en (default), de, el, fr, it, mk, nl, ru, se, pt-BR, es From b187b17f9ae28654672679a17da89857fb709de7 Mon Sep 17 00:00:00 2001 From: Cassiano Aquino Date: Fri, 11 Oct 2019 13:09:19 +0100 Subject: [PATCH 2/2] fix typo --- builder/pwnagotchi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/pwnagotchi.yml b/builder/pwnagotchi.yml index 1d75ca3..1bd46ff 100644 --- a/builder/pwnagotchi.yml +++ b/builder/pwnagotchi.yml @@ -457,7 +457,7 @@ I'm managed by systemd, so here are some basic commands. You can check my logs, to know what I'm doing, using - journactl -fu pwnagotchi + journalctl -fu pwnagotchi If you want to you if I'm running, you can use systemctl status pwnagotchi