diff options
author | dianlujitao <dianlujitao@lineageos.org> | 2020-02-20 21:35:33 +0800 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-04-30 00:49:34 +0300 |
commit | c61ad40914bd6040877cb8ee3789c76bd893f607 (patch) | |
tree | 72b475632bb145c0c49eb800e6cab0de003294f3 /rootdir | |
parent | 7345a9725ca2a7269f8179457c80e385b50f00f3 (diff) |
sdm660-common: Address SELinux denials and clean up
Change-Id: I997a268c9ce23eab80f1981293720e17d21bbb7a
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/etc/init.qcom.post_boot.sh | 20 | ||||
-rw-r--r-- | rootdir/etc/init.qcom.rc | 58 | ||||
-rw-r--r-- | rootdir/etc/init.qcom.sensors.sh | 4 |
3 files changed, 41 insertions, 41 deletions
diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh index 8dd85a8..af9f424 100644 --- a/rootdir/etc/init.qcom.post_boot.sh +++ b/rootdir/etc/init.qcom.post_boot.sh @@ -5590,16 +5590,16 @@ if [ -f /sys/devices/soc0/select_image ]; then fi # Change console log level as per console config property -console_config=`getprop persist.console.silent.config` -case "$console_config" in - "1") - echo "Enable console config to $console_config" - echo 0 > /proc/sys/kernel/printk - ;; - *) - echo "Enable console config to $console_config" - ;; -esac +# console_config=`getprop persist.console.silent.config` +# case "$console_config" in +# "1") +# echo "Enable console config to $console_config" +# echo 0 > /proc/sys/kernel/printk +# ;; +# *) +# echo "Enable console config to $console_config" +# ;; +# esac # Parse misc partition path and set property misc_link=$(ls -l /dev/block/bootdevice/by-name/misc) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 4eacd5e..fe328dd 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -476,12 +476,12 @@ on property:vendor.radio.atfwd.start=false stop vendor.atfwd # corefile limit -on property:persist.debug.trace=1 - mkdir /data/core 0777 root root - write /proc/sys/kernel/core_pattern "/data/core/%E.%p.%e" +#on property:persist.debug.trace=1 +# mkdir /data/core 0777 root root +# write /proc/sys/kernel/core_pattern "/data/core/%E.%p.%e" -on property:init.svc.wpa_supplicant=stopped - stop dhcpcd +#on property:init.svc.wpa_supplicant=stopped +# stop dhcpcd on property:vendor.bluetooth.dun.status=running start vendor.bt-dun @@ -489,8 +489,8 @@ on property:vendor.bluetooth.dun.status=running on property:vendor.bluetooth.dun.status=stopped stop vendor.bt-dun -on property:ro.bluetooth.ftm_enabled=true - start ftmd +#on property:ro.bluetooth.ftm_enabled=true +# start ftmd on property:vendor.bluetooth.startbtlogger=true start vendor.bt_logger @@ -516,8 +516,8 @@ on property:vold.decrypt=trigger_restart_framework start qcom-c_main-sh start wcnss-service -on property:persist.env.fastdorm.enabled=true - setprop persist.radio.data_no_toggle 1 +#on property:persist.env.fastdorm.enabled=true +# setprop persist.radio.data_no_toggle 1 service vendor.qrtr-ns /vendor/bin/qrtr-ns -f class core @@ -581,8 +581,8 @@ service vendor.sensors.qti /vendor/bin/sensors.qti # Adjust socket buffer to enlarge TCP receive window for high bandwidth # but only if ro.data.large_tcp_window_size property is set. -on property:ro.data.large_tcp_window_size=true - write /proc/sys/net/ipv4/tcp_adv_win_scale 2 +#on property:ro.data.large_tcp_window_size=true +# write /proc/sys/net/ipv4/tcp_adv_win_scale 2 on property:sys.sysctl.tcp_adv_win_scale=* write /proc/sys/net/ipv4/tcp_adv_win_scale ${sys.sysctl.tcp_adv_win_scale} @@ -749,9 +749,9 @@ service loc_launcher /system/vendor/bin/loc_launcher user gps group gps -on property:crypto.driver.load=1 - insmod /system/lib/modules/qce.ko - insmod /system/lib/modules/qcedev.ko +#on property:crypto.driver.load=1 +# insmod /system/lib/modules/qce.ko +# insmod /system/lib/modules/qcedev.ko service drmdiag /system/vendor/bin/drmdiagapp class late_start @@ -759,11 +759,11 @@ service drmdiag /system/vendor/bin/drmdiagapp disabled oneshot -on property:drmdiag.load=1 - start drmdiag +#on property:drmdiag.load=1 +# start drmdiag -on property:drmdiag.load=0 - stop drmdiag +#on property:drmdiag.load=0 +# stop drmdiag service qcom-sh /vendor/bin/init.qcom.sh class late_start @@ -845,12 +845,12 @@ service ims_regmanager /system/vendor/bin/exe-ims-regmanagerprocessnative group net_bt_admin inet radio wifi disabled -on property:persist.ims.regmanager.mode=1 - start ims_regmanager +#on property:persist.ims.regmanager.mode=1 +# start ims_regmanager -on property:ro.data.large_tcp_window_size=true - # Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB) - write /proc/sys/net/ipv4/tcp_adv_win_scale 2 +#on property:ro.data.large_tcp_window_size=true +# # Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB) +# write /proc/sys/net/ipv4/tcp_adv_win_scale 2 service battery_monitor /system/bin/battery_monitor user system @@ -895,11 +895,11 @@ service hvdcp /system/bin/hvdcp user root disabled -on property:persist.usb.hvdcp.detect=true - start hvdcp +#on property:persist.usb.hvdcp.detect=true +# start hvdcp -on property:persist.usb.hvdcp.detect=false - stop hvdcp +#on property:persist.usb.hvdcp.detect=false +# stop hvdcp service charger_monitor /system/bin/charger_monitor user root @@ -1012,8 +1012,8 @@ service logdumpd /system/bin/logcat -b all -v threadtime -D -w /dev/block/bootde disabled # Logdumpd is enabled only for userdebug non-perf build -on property:ro.logdumpd.enabled=1 - start logdumpd +#on property:ro.logdumpd.enabled=1 +# start logdumpd service time_daemon /vendor/bin/time_daemon class main diff --git a/rootdir/etc/init.qcom.sensors.sh b/rootdir/etc/init.qcom.sensors.sh index daf7de2..978324e 100644 --- a/rootdir/etc/init.qcom.sensors.sh +++ b/rootdir/etc/init.qcom.sensors.sh @@ -32,8 +32,8 @@ start_sensors() { - chmod -h 664 /persist/sensors/sensors_settings - chown -h -R system.system /persist/sensors + # chmod -h 664 /persist/sensors/sensors_settings + # chown -h -R system.system /persist/sensors start vendor.sensors.qti # Only for SLPI |