Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-11-10 14:34:16 +01:00
parent 876714f8f3
commit 4797fcc4b1
5 changed files with 70 additions and 55 deletions

View File

@ -5,6 +5,8 @@ Wants=network.target
After=bettercap.service
[Service]
Environment=LD_PRELOAD=/usr/local/lib/libpcap.so.1
Environment=LD_LIBRARY_PATH=/usr/local/lib
Type=simple
ExecStart=/usr/local/bin/pwngrid -keys /etc/pwnagotchi -peers /root/peers -address 127.0.0.1:8666 -client-token /root/.api-enrollment.json -wait -log /var/log/pwngrid-peer.log -iface wlan0mon
Restart=always

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash
export LD_PRELOAD=/usr/local/lib/libpcap.so.1
export LD_LIBRARY_PATH=/usr/local/lib
# well ... it blinks the led
blink_led() {
# shellcheck disable=SC2034