From f4f04a9cc1ad9b94adef92eec3760b05f7abc1fe Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Fri, 29 Sep 2023 10:16:39 +0200 Subject: [PATCH] v2.4.4 Signed-off-by: Jeroen Oudshoorn --- builder/pwnagotchi.json | 5 +++++ builder/pwnagotchi.json.pkr.hcl | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/builder/pwnagotchi.json b/builder/pwnagotchi.json index fff56357..554c1653 100644 --- a/builder/pwnagotchi.json +++ b/builder/pwnagotchi.json @@ -87,6 +87,11 @@ "chmod +x /usr/bin/*" ] }, + { + "type": "file", + "source": "../builder/data/etc/update-motd.d/01-motd", + "destination": "/etc/update-motd.d/01-motd", + }, { "type": "shell", "inline": [ diff --git a/builder/pwnagotchi.json.pkr.hcl b/builder/pwnagotchi.json.pkr.hcl index 5eadfcf4..25f123c6 100644 --- a/builder/pwnagotchi.json.pkr.hcl +++ b/builder/pwnagotchi.json.pkr.hcl @@ -103,6 +103,10 @@ build { provisioner "shell" { inline = ["chmod +x /usr/bin/*"] } + provisioner "file" { + destination = "/etc/update-motd.d/01-motd" + source = "../builder/data/etc/update-motd.d/01-motd" + } provisioner "shell" { inline = ["chmod +x /etc/update-motd.d/*"] }