summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArian <arian.kulmer@web.de>2019-08-20 17:39:04 +0200
committerArian <arian.kulmer@web.de>2019-10-07 11:07:17 +0200
commitc0bf6c0f64820b6660716779b01225a509116e9c (patch)
treef9d60baf1ce82735ebc7acc9fbdd1c556fbb5595
parent2f356321cad7e83483d59697bc403619decb24de (diff)
shinano-common: rootdir: replace net_bt_admin and net_bt_stack group with bluetooth group
-rw-r--r--rootdir/init.qcom.rc16
-rw-r--r--rootdir/ueventd.qcom.rc12
2 files changed, 14 insertions, 14 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index c75db71..d91b027 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -105,18 +105,18 @@ on boot
write /sys/module/qpnp_power_on/parameters/forcecrash_on 1
# Bluetooth
- chown bluetooth net_bt_admin /sys/class/rfkill/rfkill0/type
- chown bluetooth net_bt_admin /sys/class/rfkill/rfkill0/state
+ chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
+ chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
# bluetooth LPM
- chown bluetooth net_bt_stack /proc/bluetooth/sleep/lpm
- chown bluetooth net_bt_stack /proc/bluetooth/sleep/btwrite
+ chown bluetooth bluetooth /proc/bluetooth/sleep/lpm
+ chown bluetooth bluetooth /proc/bluetooth/sleep/btwrite
# BT DUN port-bridge
chmod 0660 /dev/smd7
chown bluetooth bluetooth /dev/smd7
chmod 0660 /sys/class/rfkill/rfkill0/state
- chown bluetooth net_bt_admin /dev/ttyHS0
+ chown bluetooth bluetooth /dev/ttyHS0
chmod 0660 /dev/ttyHS0
chown bluetooth bluetooth /sys/devices/platform/msm_serial_hs.0/clock
chmod 0660 /sys/devices/platform/msm_serial_hs.0/clock
@@ -516,7 +516,7 @@ service audioserver /system/bin/audioserver
class main
user audioserver
# media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
- group audio trimarea camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct qcom_diag
+ group audio trimarea camera drmrpc inet media mediadrm net_bt bluetooth net_bw_acct qcom_diag
ioprio rt 4
service drm /system/bin/drmserver
@@ -528,7 +528,7 @@ service drm /system/bin/drmserver
service media /system/bin/mediaserver
class main
user media
- group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc mediadrm credmgr_client system
+ group audio camera inet net_bt bluetooth net_bw_acct drmrpc mediadrm credmgr_client system
ioprio rt 4
service mediadrm /system/bin/mediadrmserver
@@ -547,5 +547,5 @@ service mpdecision /system/bin/mpdecision --avg_comp
service uim /system/bin/brcm-uim-sysfs
class late_start
user root
- group bluetooth net_bt_admin net_bt
+ group bluetooth net_bt
seclabel u:r:uim:s0
diff --git a/rootdir/ueventd.qcom.rc b/rootdir/ueventd.qcom.rc
index bcac699..7200364 100644
--- a/rootdir/ueventd.qcom.rc
+++ b/rootdir/ueventd.qcom.rc
@@ -42,18 +42,18 @@
/dev/smd5 0660 system system
/dev/smd6 0660 system system
/dev/smd7 0660 bluetooth bluetooth
-/dev/ttyHS0 0660 bluetooth net_bt_stack
+/dev/ttyHS0 0660 bluetooth bluetooth
#permissions for CSVT
/dev/smd11 0660 radio radio
# BT/FM/ANT+ V4L2
-/dev/brcm_bt_drv 0660 bluetooth net_bt_stack
-/dev/radio1 0660 system net_bt_stack
+/dev/brcm_bt_drv 0660 bluetooth bluetooth
+/dev/radio1 0660 system bluetooth
/dev/rfcomm0 0660 bluetooth bluetooth
/dev/ttyUSB0 0660 bluetooth bluetooth
-/dev/smd3 0660 bluetooth net_bt_stack
-/dev/smd2 0660 bluetooth net_bt_stack
+/dev/smd3 0660 bluetooth bluetooth
+/dev/smd2 0660 bluetooth bluetooth
/dev/radio0 0640 system system
/dev/smdcntl0 0640 radio radio
@@ -233,4 +233,4 @@
/dev/pmem 0660 system graphics
/dev/pmem_adsp* 0660 system audio
/dev/pmem_camera* 0660 system camera
-/dev/msm_hw3dm 0660 system graphics \ No newline at end of file
+/dev/msm_hw3dm 0660 system graphics