mirror of
https://github.com/followmsi/android_device_asus_deb.git
synced 2024-11-06 22:06:28 +00:00
* commit '59be944c9dfece43ea3f89546745f4748720313e': Migrate SELinux related flo changes to deb.
This commit is contained in:
commit
e0eef36559
1 changed files with 16 additions and 7 deletions
23
init.deb.rc
23
init.deb.rc
|
@ -43,6 +43,7 @@ on init
|
|||
|
||||
on fs
|
||||
mount_all ./fstab.flo
|
||||
restorecon_recursive /persist
|
||||
setprop ro.crypto.fuse_sdcard true
|
||||
write /sys/kernel/boot_adsp/boot 1
|
||||
|
||||
|
@ -187,6 +188,9 @@ on post-fs-data
|
|||
mkdir /persist/sensors
|
||||
chmod 775 /persist/sensors
|
||||
|
||||
# Label in case file already exists
|
||||
restorecon /data/fdAlbum
|
||||
|
||||
# Modify from 777 (for camera calibration) to 775
|
||||
chmod 775 /persist/camera_calibration
|
||||
|
||||
|
@ -216,8 +220,7 @@ on post-fs-data
|
|||
chown system system /sys/class/leds/white/device/blink
|
||||
|
||||
# communicate with mpdecision and thermald
|
||||
mkdir /dev/socket/mpdecision 0770 system system
|
||||
chmod 2770 /dev/socket/mpdecision
|
||||
mkdir /dev/socket/mpdecision 2770 root system
|
||||
|
||||
# adjust vibrator amplitude
|
||||
write /sys/class/timed_output/vibrator/amp 70
|
||||
|
@ -282,7 +285,7 @@ on charger
|
|||
on property:init.svc.wpa_supplicant=stopped
|
||||
stop dhcpcd
|
||||
|
||||
service irsc_util /system/bin/logwrapper /system/bin/irsc_util "/etc/sec_config"
|
||||
service irsc_util /system/bin/irsc_util "/etc/sec_config"
|
||||
class main
|
||||
user root
|
||||
oneshot
|
||||
|
@ -290,11 +293,13 @@ service irsc_util /system/bin/logwrapper /system/bin/irsc_util "/etc/sec_config"
|
|||
service rmt_storage /system/bin/rmt_storage
|
||||
class main
|
||||
user root
|
||||
group system
|
||||
|
||||
service hciattach /system/bin/sh /system/etc/init.flo.bt.sh
|
||||
class late_start
|
||||
user bluetooth
|
||||
group qcom_oncrpc bluetooth net_bt_admin system net_bt_stack
|
||||
seclabel u:r:bluetooth_loader:s0
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
|
@ -317,6 +322,7 @@ service qmuxd /system/bin/qmuxd
|
|||
|
||||
service ks_checker /system/bin/sh /system/etc/kickstart_checker.sh
|
||||
class core
|
||||
seclabel u:r:kickstart:s0
|
||||
oneshot
|
||||
|
||||
service kickstart /system/bin/qcks -i /firmware/image/ -r /data/tombstones/mdm/
|
||||
|
@ -342,13 +348,14 @@ on property:ril.asus_debugger_running=1
|
|||
|
||||
service netmgrd /system/bin/netmgrd
|
||||
class main
|
||||
group radio
|
||||
|
||||
service sensors /system/bin/sensors.qcom
|
||||
class late_start
|
||||
user root
|
||||
group root
|
||||
|
||||
service wpa_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant \
|
||||
service wpa_supplicant /system/bin/wpa_supplicant \
|
||||
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
|
||||
-I/system/etc/wifi/wpa_supplicant_overlay.conf \
|
||||
-O/data/misc/wifi/sockets \
|
||||
|
@ -362,7 +369,7 @@ service wpa_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant \
|
|||
disabled
|
||||
oneshot
|
||||
|
||||
service p2p_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant \
|
||||
service p2p_supplicant /system/bin/wpa_supplicant \
|
||||
-ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf \
|
||||
-I/system/etc/wifi/p2p_supplicant_overlay.conf -N \
|
||||
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
|
||||
|
@ -428,6 +435,7 @@ on property:init.svc.sdcard=running
|
|||
|
||||
service thermald /system/bin/thermald
|
||||
class main
|
||||
group radio
|
||||
|
||||
service mpdecision /system/bin/mpdecision --no_sleep --avg_comp
|
||||
class main
|
||||
|
@ -436,7 +444,7 @@ service ppd /system/bin/mm-pp-daemon
|
|||
class late_start
|
||||
disabled
|
||||
user system
|
||||
socket pps stream 0660 system system graphics
|
||||
socket pps stream 0660 system system
|
||||
group system graphics
|
||||
|
||||
service qcamerasvr /system/bin/mm-qcamera-daemon
|
||||
|
@ -448,6 +456,7 @@ service wcnss_init /system/bin/sh /system/etc/init.flo.wifi.sh
|
|||
class main
|
||||
user system
|
||||
group system wifi
|
||||
seclabel u:r:conn_init:s0
|
||||
oneshot
|
||||
|
||||
service bdAddrLoader /system/bin/bdAddrLoader -f /persist/bluetooth/.bdaddr -h -x
|
||||
|
@ -469,7 +478,7 @@ service qseecomd /system/bin/qseecomd
|
|||
user system
|
||||
group system
|
||||
|
||||
service diag_mdlog /system/bin/logwrapper /system/bin/diag_mdlog -s 100
|
||||
service diag_mdlog /system/bin/diag_mdlog -s 100
|
||||
class late_start
|
||||
disabled
|
||||
|
||||
|
|
Loading…
Reference in a new issue