summaryrefslogtreecommitdiff
path: root/filesystem/etc/rc.d
diff options
context:
space:
mode:
authorSooyoung Ha <yoosah.ha@samsung.com>2012-08-31 13:57:59 +0900
committerSooyoung Ha <yoosah.ha@samsung.com>2012-08-31 13:57:59 +0900
commit187678ed17b11bd5136886d53d04e0ff52fd966b (patch)
tree463f1f0204fc5d82d7d734a6a067db27500970e9 /filesystem/etc/rc.d
parent65e04ba1216edc36aebb19f3e7fe184e78b7754f (diff)
downloaddefault-files-emulator-187678ed17b11bd5136886d53d04e0ff52fd966b.tar.gz
default-files-emulator-187678ed17b11bd5136886d53d04e0ff52fd966b.tar.bz2
default-files-emulator-187678ed17b11bd5136886d53d04e0ff52fd966b.zip
modify initial display brightness.
Diffstat (limited to 'filesystem/etc/rc.d')
-rwxr-xr-xfilesystem/etc/rc.d/rc.emul1
-rwxr-xr-xfilesystem/etc/rc.d/rc.sysinit4
2 files changed, 4 insertions, 1 deletions
diff --git a/filesystem/etc/rc.d/rc.emul b/filesystem/etc/rc.d/rc.emul
index 29f379c..4ae092f 100755
--- a/filesystem/etc/rc.d/rc.emul
+++ b/filesystem/etc/rc.d/rc.emul
@@ -76,7 +76,6 @@ echo -e "[${_G}to change lcd_power's group${C_}]"
chown -R root:system_bklight /sys/devices/virtual/lcd/emulator/lcd_power
echo -e "[${_G}Initialize display setting value${C_}]"
-/usr/bin/vconftool set -t int db/setting/Brightness "24" -f
/usr/bin/vconftool set -t int db/sysman/lcd_backlight_normal "600" -f
echo -e "[${_G}For menu_screen booting..${C_}]"
diff --git a/filesystem/etc/rc.d/rc.sysinit b/filesystem/etc/rc.d/rc.sysinit
index 08fabe2..f015673 100755
--- a/filesystem/etc/rc.d/rc.sysinit
+++ b/filesystem/etc/rc.d/rc.sysinit
@@ -33,6 +33,10 @@ mdev -s
#for emulator : comment out
#mount -t ubifs -o bulk_read,no_chk_data_crc ubi0!dbfs /mnt/db
+echo -e "[${_G}Initialize display brightness.${C_}]"
+/usr/bin/vconftool set -t int db/setting/Brightness "24" -f
+echo 24 > /sys/class/backlight/emulator/brightness
+
echo -e "[${_G}set env varible -LAUNCHER_ENGINE- for menu-screen${C_}]"
export LAUNCHER_ENGINE=x11