Compare commits

...

3 Commits

Author SHA1 Message Date
ca023db6fe add needed keys to screen services 2025-05-31 11:57:55 +01:00
eaa6a09550 Ensure reboot and screen-timer scripts are executable 2025-05-31 11:48:08 +01:00
534d5a6634
Update main.yml
my runner needs sudo
2025-05-31 11:14:38 +01:00
3 changed files with 3 additions and 1 deletions

View File

@ -55,7 +55,7 @@ jobs:
- name: Build firmware
run: |
./build_raspberry_pi.sh
sudo ./build_raspberry_pi.sh
- name: Release build artifacts
uses: softprops/action-gh-release@v1

0
kiosk_skeleton/usr/bin/schedule-reboot Normal file → Executable file
View File

2
kiosk_skeleton/usr/bin/schedule-screen-timers Normal file → Executable file
View File

@ -41,6 +41,8 @@ Description=Turn screen ${action}
Type=oneshot
Environment=DISPLAY=:0
ExecStart=/usr/bin/xset dpms force ${action}
Environment=XAUTHORITY=/home/pi/.Xauthority
User=pi
EOF
systemctl daemon-reload