Commit Graph

3 Commits

Author SHA1 Message Date
Aren Moynihan
86dbca1502 autodetect SXMO_DISABLE_LEDS
The new sxmo_status_led program can tell us if it finds a suitable led
on the system. We can use this to set the SXMO_DISABLE_LEDS env
variable.

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
2024-08-18 15:40:31 +02:00
Aren Moynihan
6a3269d358 sxmo_init: run cleanup when killed
If system service manager stops tinydm (e.g. if someone runs service
tinydm restart) it should send sigterm to this script. If we're allowed
a chance to, we should do our best to cleanup in this case.

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
2023-10-31 11:27:44 +01:00
Willow Barraco
f479a599f6 Unify sxmo_{w,x}init.sh 2023-10-13 09:19:22 +02:00