summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-05-25 21:56:57 +0200
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-05-25 21:56:57 +0200
commitb6623a5227834c44c54ccbc8375f7cd99b040df4 (patch)
tree7614523a35282648958aa078315e82bc5da3bc94 /rootdir
parenta6256201b54141a4dfff5e0f93f6f42abdf864c2 (diff)
downloaddevice_samsung_galaxys2-common-b6623a5227834c44c54ccbc8375f7cd99b040df4.zip
device_samsung_galaxys2-common-b6623a5227834c44c54ccbc8375f7cd99b040df4.tar.gz
device_samsung_galaxys2-common-b6623a5227834c44c54ccbc8375f7cd99b040df4.tar.bz2
galaxys2: set default mdnie scenario and mode on boot
Change-Id: Ib99b00b1dab576d8be19757e3b03206336c2ecdd
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.smdk4210.rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/rootdir/init.smdk4210.rc b/rootdir/init.smdk4210.rc
index ecb63c5..dedd393 100644
--- a/rootdir/init.smdk4210.rc
+++ b/rootdir/init.smdk4210.rc
@@ -233,7 +233,8 @@ on post-fs-data
chown system media_rw /sys/class/mdnie/mdnie/outdoor
chown system media_rw /sys/class/mdnie/mdnie/scenario
chown system media_rw /sys/class/mdnie/mdnie/negative
- write /sys/class/mdnie/mdnie/scenario 4
+ write /sys/class/mdnie/mdnie/scenario 0
+ write /sys/class/mdnie/mdnie/mode 1
# Permissions for uart_sel and usb_sel
chown system radio /sys/class/sec/switch/uart_sel/value