Hi all, new to Porteus but not new to Linux at all. I'm using the Kiosk variant on some laptops and need to set the brightness as Porteus doesn't support the keyboard brightness controls. I found the way to set the brightness:
Code: Select all
echo 9500 > /sys/class/backlight/intel_backlight/brightness
Now I'm trying to set this value on boot but I'm really not clear on how to set this as a persistent startup operation. I saw some reference to adding this to /etc/rc.d/rc.local, but just writing to the file doesn't persist after rebooting. I'm seeing a lot of references to a save(?) file and some possible editing of the GRUB command line to read configuration from...a USB drive I guess?...at boot, but no definitive documentation on how to actually do this. I'm sure I'm just looking in the wrong places. I'd truly appreciate pointers here.
(FWIW I don't have Porteus Server set up yet so I can't use that.)