summaryrefslogtreecommitdiff
path: root/filesystem/etc/rc.d/rc3.d/S30brightness
diff options
context:
space:
mode:
Diffstat (limited to 'filesystem/etc/rc.d/rc3.d/S30brightness')
-rwxr-xr-xfilesystem/etc/rc.d/rc3.d/S30brightness8
1 files changed, 7 insertions, 1 deletions
diff --git a/filesystem/etc/rc.d/rc3.d/S30brightness b/filesystem/etc/rc.d/rc3.d/S30brightness
index e6897f0..e79876d 100755
--- a/filesystem/etc/rc.d/rc3.d/S30brightness
+++ b/filesystem/etc/rc.d/rc3.d/S30brightness
@@ -1,4 +1,10 @@
# for emulator brightness level setting.
-/usr/bin/vconftool set -t int db/setting/Brightness "24"
+#/usr/bin/vconftool set -t int db/setting/Brightness "24"
+echo -e "[${_G}to change brightness's group${C_}]"
+chgrp system_bklight /sys/class/backlight/emulator/brightness
+chmod g+w /sys/class/backlight/emulator/brightness
+
+echo -e "[${_G}to change lcd_power's group${C_}]"
+chown -R root:system_bklight /sys/devices/virtual/lcd/emulator/lcd_power