sm8250-common: init: Chown used display nodes
Change-Id: Iea4985c06e6094464b5b5dfa7a06294e895a9971
This commit is contained in:
committed by
LuK1337
parent
aa145e77e6
commit
0ad0214091
@@ -280,6 +280,7 @@ PRODUCT_PACKAGES += \
|
||||
# Init
|
||||
PRODUCT_PACKAGES += \
|
||||
init.class_main.sh \
|
||||
init.oplus.rc \
|
||||
init.qcom.early_boot.sh \
|
||||
init.qcom.post_boot.sh \
|
||||
init.qcom.rc \
|
||||
|
||||
@@ -10,6 +10,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.recovery.rc",
|
||||
src: "init.qcom.recovery.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
|
||||
Reference in New Issue
Block a user