fix: keep local telemetry and display independent of monitor

This commit is contained in:
way
2026-09-27 20:54:05 +08:00
parent 72f305dd98
commit 1b9b61bcbc
6 changed files with 105 additions and 27 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ while [ "$#" -gt 0 ]; do
*) echo "ERROR: unknown option: $1" >&2; exit 2 ;;
esac
done
for f in app/migrate.py app/service.py app/runtime.py app/settings.py app/drivers/yahboom.py app/oled_font_5x7.bin config/pigway-cooling-hat.conf systemd/pigway-cooling-hat.service; do
for f in app/local_state.py app/migrate.py app/service.py app/runtime.py app/settings.py app/drivers/yahboom.py app/oled_font_5x7.bin config/pigway-cooling-hat.conf systemd/pigway-cooling-hat.service; do
[ -f "$f" ] || { echo "ERROR: required file missing: $f" >&2; exit 1; }
done
[ "$(id -u)" -eq 0 ] || { echo 'ERROR: run as root' >&2; exit 1; }