From 7d9b2d5312b6e9b1c3a10cabb0452222d6ac3857 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Tue, 15 Jan 2019 03:37:54 +0000 Subject: shinano-common: Cleanup init.qcom.rc again * Remove entries created by init.rc * Remove obsolete & unused entries * Remove useless chmod when proper perms are set by mkdir Change-Id: Ifb1a2d8c915de13438393e5a0cac7706d7decd7a --- rootdir/etc/init.qcom.rc | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'rootdir') diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index c94e7a6..aada2b8 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -23,7 +23,6 @@ import /vendor/etc/init/hw/init.camera.rc on early-init mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755 - chown system system /sys/kernel/debug/kgsl/proc on init symlink /dev/block/platform/msm_sdcc.1 /dev/block/bootdevice @@ -123,21 +122,16 @@ on boot chown bluetooth bluetooth /sys/devices/platform/msm_serial_hs.0/clock chmod 0660 /sys/devices/platform/msm_serial_hs.0/clock - #Create QMUX deamon socket area - mkdir /dev/socket/qmux_radio 0770 radio radio - chmod 2770 /dev/socket/qmux_radio - mkdir /dev/socket/qmux_audio 0770 media audio - chmod 2770 /dev/socket/qmux_audio - mkdir /dev/socket/qmux_bluetooth 0770 bluetooth bluetooth - chmod 2770 /dev/socket/qmux_bluetooth - mkdir /dev/socket/qmux_gps 0770 gps gps - chmod 2770 /dev/socket/qmux_gps + # Create QMUX deamon socket area + mkdir /dev/socket/qmux_radio 2770 radio radio + mkdir /dev/socket/netmgr 0750 radio radio + mkdir /dev/socket/qmux_audio 2770 media audio + mkdir /dev/socket/qmux_bluetooth 2770 bluetooth bluetooth + mkdir /dev/socket/qmux_gps 2770 gps gps # Create PERFD deamon related dirs - mkdir /data/misc/perfd 0755 root system - chmod 2755 /data/misc/perfd - mkdir /data/system/perfd 0770 root system - chmod 2770 /data/system/perfd + mkdir /data/misc/perfd 2755 root system + mkdir /data/system/perfd 2770 root system #Create NETMGR daemon socket area mkdir /dev/socket/netmgr 0750 radio radio @@ -152,7 +146,7 @@ on boot setprop ro.telephony.call_ring.multiple false # Create folder for timekeep - mkdir /data/time/ 0700 system system + mkdir /data/time 0700 system system chmod 0770 /data/time/ats_2 # port-bridge -- cgit v1.2.3