diff options
author | Steve Kondik <steve@cyngn.com> | 2015-09-18 04:27:35 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2015-09-18 20:05:06 -0700 |
commit | 4462dfa5185ed59c9d1b62ee62554b054bf58940 (patch) | |
tree | 3869b8701938ba597996b4ad533ac723c7c30d3c /prebuilt/common | |
parent | d36909b97301cb675b53d814d9894d110f255886 (diff) | |
download | vendor_replicant-4462dfa5185ed59c9d1b62ee62554b054bf58940.zip vendor_replicant-4462dfa5185ed59c9d1b62ee62554b054bf58940.tar.gz vendor_replicant-4462dfa5185ed59c9d1b62ee62554b054bf58940.tar.bz2 |
cm: Update shared init.rc
* Remove cruft
* Add LiveDisplay sysfs
Change-Id: I6e3ca9048c9196dbc85151f102fb22ff5a4222b4
Diffstat (limited to 'prebuilt/common')
-rw-r--r-- | prebuilt/common/etc/init.local.rc | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc index a38f62c..73e7aae 100644 --- a/prebuilt/common/etc/init.local.rc +++ b/prebuilt/common/etc/init.local.rc @@ -137,14 +137,6 @@ on boot chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load - # Assume SMP uses shared cpufreq policy for all CPUs - chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq - chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq - chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - chown system system /sys/block/mmcblk0/queue/scheduler chmod 0664 /sys/block/mmcblk0/queue/scheduler restorecon /sys/block/mmcblk0/queue/scheduler @@ -152,6 +144,16 @@ on boot chown system system /dev/cpuctl/cpu.notify_on_migrate chmod 0664 /dev/cpuctl/cpu.notify_on_migrate + # LiveDisplay sysfs + chown system system /sys/devices/virtual/graphics/fb0/aco + chmod 0660 /sys/devices/virtual/graphics/fb0/aco + chown system system /sys/devices/virtual/graphics/fb0/cabc + chmod 0660 /sys/devices/virtual/graphics/fb0/cabc + chown system system /sys/devices/virtual/graphics/fb0/rgb + chmod 0660 /sys/devices/virtual/graphics/fb0/rgb + chown system system /sys/devices/virtual/graphics/fb0/sre + chmod 0660 /sys/devices/virtual/graphics/fb0/sre + # Define TCP delayed ack settings for WiFi & LTE chown system system /sys/kernel/ipv4/tcp_delack_seg chown system system /sys/kernel/ipv4/tcp_use_userconfig @@ -209,4 +211,5 @@ on property:sys.io.scheduler=cfq # Set slice_idle to 0 for BFQ on property:sys.io.scheduler=bfq - write /sys/block/mmcblk0/queue/iosched/slice_idle 0
\ No newline at end of file + write /sys/block/mmcblk0/queue/iosched/slice_idle 0 + |