cm: Update shared init.rc

* Remove cruft
 * Add LiveDisplay sysfs

Change-Id: I6e3ca9048c9196dbc85151f102fb22ff5a4222b4
This commit is contained in:
Steve Kondik 2015-09-18 04:27:35 -07:00 committed by Steve Kondik
parent d36909b973
commit 4462dfa518

View File

@ -137,14 +137,6 @@ on boot
chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load 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 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 chown system system /sys/block/mmcblk0/queue/scheduler
chmod 0664 /sys/block/mmcblk0/queue/scheduler chmod 0664 /sys/block/mmcblk0/queue/scheduler
restorecon /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 chown system system /dev/cpuctl/cpu.notify_on_migrate
chmod 0664 /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 # Define TCP delayed ack settings for WiFi & LTE
chown system system /sys/kernel/ipv4/tcp_delack_seg chown system system /sys/kernel/ipv4/tcp_delack_seg
chown system system /sys/kernel/ipv4/tcp_use_userconfig 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 # Set slice_idle to 0 for BFQ
on property:sys.io.scheduler=bfq on property:sys.io.scheduler=bfq
write /sys/block/mmcblk0/queue/iosched/slice_idle 0 write /sys/block/mmcblk0/queue/iosched/slice_idle 0