dre: init: Chown used display nodes
Change-Id: Iea4985c06e6094464b5b5dfa7a06294e895a9971
This commit is contained in:
parent
5ba23790d0
commit
3deb110867
3 changed files with 22 additions and 0 deletions
|
@ -297,6 +297,7 @@ PRODUCT_COPY_FILES += \
|
|||
PRODUCT_PACKAGES += \
|
||||
fstab.qcom \
|
||||
init.class_main.sh \
|
||||
init.oplus.rc \
|
||||
init.qcom.early_boot.sh \
|
||||
init.qcom.rc \
|
||||
init.qcom.recovery.rc \
|
||||
|
|
|
@ -9,6 +9,13 @@ prebuilt_etc {
|
|||
vendor: true,
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "init.oplus.rc",
|
||||
src: "init.oplus.rc",
|
||||
sub_dir: "init",
|
||||
device_specific: true,
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "init.qcom.rc",
|
||||
src: "init.qcom.rc",
|
||||
|
|
14
init/init.oplus.rc
Normal file
14
init/init.oplus.rc
Normal file
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# Copyright (C) 2022 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
on boot
|
||||
# Display
|
||||
chown system system /dev/oplus_display
|
||||
chown system system /sys/kernel/oplus_display/dimlayer_bl_en
|
||||
chown system system /sys/kernel/oplus_display/dynamic_osc_clock
|
||||
chown system system /sys/kernel/oplus_display/hbm
|
||||
chown system system /sys/kernel/oplus_display/notify_fppress
|
||||
chown system system /sys/kernel/oplus_display/panel_serial_number
|
Loading…
Reference in a new issue