Closed calculous closed 4 months ago
Thanks for the PR! Would you mind creating the necessary scripts to add it while creating the rootfs?
Probably it would be a good to idea to create the script here: https://github.com/Jpe230/SonicPad-Debian/tree/main/src/base_rootfs/usr/local/bin
and then create the service to enable the script at boot here: https://github.com/Jpe230/SonicPad-Debian/tree/main/src/base_rootfs/etc/systemd/system
I added display-sleep.sh and display-sleep.service at these locations.
Added a script for disable backlight of screen when pad goes in suspend, and enable backlight when pad wakes.