I'm trying to save the backlight brightness level before shutdown, but it's not saving it. Maybe it's trying to access it too late? How do I do it then?
Here's my rc.shutdown.local (it is executable by all):
Here's my rc.shutdown.local (it is executable by all):
Code:
/usr/bin/backlight -f /dev/backlight/backlight0 | /usr/bin/awk '{print $NF}' > /var/db/backlight_level