Small edit

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-07-21 18:49:22 +02:00
parent 1744e03423
commit 34e0a44deb
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ After=bettercap.service
[Service]
Type=simple
PermissionsStartOnly=true
ExecStart=/usr/local/bin/pwngrid -keys /etc/pwnagotchi -address 127.0.0.1:8666 -client-token /root/.api-enrollment.json -wait -log /var/log/pwngrid-peer.log -iface mon0
ExecStart=/usr/local/bin/pwngrid -keys /etc/pwnagotchi -address 127.0.0.1:8666 -client-token /root/.api-enrollment.json -wait -log /var/log/pwngrid-peer.log -iface wlan0
Restart=always
RestartSec=30

View File

@ -44,6 +44,7 @@ def installer():
# for people updating https://github.com/evilsocket/pwnagotchi/pull/551/files
os.system("systemctl enable fstrim.timer")
def version(version_file):
with open(version_file, 'rt') as vf:
version_file_content = vf.read()