Files
vendor_xiaomi_sm8250-common/proprietary/system_ext/etc/init/dpmd.rc
Sebastiano Barezzi 3a69869f8b sm8250-common: Initial import from 19.1
* HEAD: 59232e228cd57b03625522adb2aef1e02a803f69

Change-Id: Id4cfb36e01b00e69260706256e243f139ee91b40
2022-11-24 18:13:09 +01:00

24 lines
659 B
Plaintext

# Copyright (c) 2018 - 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
# Create the directories used by DPM subsystem
on post-fs-data
mkdir /data/dpm 0771 system system
chown system system /data/dpm
#start dpmd service
service dpmd /system/system_ext/bin/dpmd
class late_start
socket dpmd stream 660 root radio
socket tcm stream 660 root inet
socket dpmwrapper stream 660 root inet
group system readproc inet radio wakelock oem_2901
disabled
on property:persist.vendor.dpm.feature=*
start dpmd
on property:persist.vendor.dpm.feature=0
stop dpmd