A quick note to say thank you for your work! I am a complete Luddite when it comes to coding, but I note that the more recent version of Raspberry OS has changed the folder structure from this; /sys/class/backlight/rpi-backlight/brightness
to this; /sys/class/backlight/rpi_backlight/brightness
Accordingly your script throws an unable to find error;
./timeout 10 event0
I tried updating the timeout.c on line 104 to the new location by that didn’t seem to work either. Any thoughts would be most appreciated and hope all is well