diff options
author | Robert Burns <burnsra@gmail.com> | 2012-01-27 16:00:28 -0500 |
---|---|---|
committer | Robert Burns <burnsra@gmail.com> | 2012-01-27 16:00:28 -0500 |
commit | d775c8a7aeaf4e5cf0bedd82ccf58d96e6c510dd (patch) | |
tree | 23e8ee67cc28a604adae5bbcce32498f5f9c2dd4 /init.herring.rc | |
parent | 21c67b40068eee19203dacd1012cb63bd05ca71c (diff) | |
download | device_samsung_crespo-d775c8a7aeaf4e5cf0bedd82ccf58d96e6c510dd.zip device_samsung_crespo-d775c8a7aeaf4e5cf0bedd82ccf58d96e6c510dd.tar.gz device_samsung_crespo-d775c8a7aeaf4e5cf0bedd82ccf58d96e6c510dd.tar.bz2 |
Ability to enable KSM
Change-Id: Ie49435eaf6d7ec8b48be80359f62dd3a9ffeb5b2
Diffstat (limited to 'init.herring.rc')
-rwxr-xr-x | init.herring.rc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/init.herring.rc b/init.herring.rc index f96b476..7e15bac 100755 --- a/init.herring.rc +++ b/init.herring.rc @@ -19,6 +19,14 @@ on boot # phone setprop ro.telephony.call_ring.multiple 0 +# allow system to modify ksm control files + chown root system /sys/kernel/mm/ksm/pages_to_scan + chmod 0664 /sys/kernel/mm/ksm/pages_to_scan + chown root system /sys/kernel/mm/ksm/sleep_millisecs + chmod 0664 /sys/kernel/mm/ksm/sleep_millisecs + chown root system /sys/kernel/mm/ksm/run + chmod 0664 /sys/kernel/mm/ksm/run + # change permission for uart_switch chown radio radio /sys/class/sec/uart_switch/UART_SEL/value chmod 660 /sys/class/sec/uart_switch/UART_SEL/value |