Remove clear on exit, invokes an extra restart at boot

Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
This commit is contained in:
jayofelony
2024-06-06 13:43:59 +02:00
parent 1614d1f94d
commit 318e3480ce
2 changed files with 0 additions and 3 deletions

View File

@ -8,7 +8,6 @@ After=pwngrid-peer.service
Type=simple Type=simple
WorkingDirectory=~ WorkingDirectory=~
ExecStart=/usr/bin/pwnagotchi-launcher ExecStart=/usr/bin/pwnagotchi-launcher
ExecStopPost=/usr/bin/bash -c "if egrep -qi 'personality.clear_on_exit[ =]*true' /etc/pwnagotchi/config.toml ; then /usr/local/bin/pwnagotchi --clear; fi"
Restart=always Restart=always
RestartSec=30 RestartSec=30
TasksMax=infinity TasksMax=infinity

View File

@ -150,8 +150,6 @@ personality.bond_encounters_factor = 20000
personality.throttle_a = 0.4 personality.throttle_a = 0.4
personality.throttle_d = 0.9 personality.throttle_d = 0.9
personality.clear_on_exit = true # clear display when shutting down cleanly
ui.invert = false # false = black background, true = white background ui.invert = false # false = black background, true = white background
ui.fps = 0.0 ui.fps = 0.0