tizen.moe

tizen.moe

Linux起動時に画面の輝度を変える

という覚え書き

moguriso@crowne:/etc$ cat /etc/rc.local 
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

echo 4 > /sys/class/backlight/acpi_video0/brightness

exit 0

mesa以外だと有効にならないかもですが。。。