`fric` is the actual NVIDIA board name. Use for semantics and compat with L4T. Change-Id: I1995f24e7a289e3a39ecd3385d1f5546df781b6a
21 lines
801 B
Plaintext
21 lines
801 B
Plaintext
# Copyright (C) 2023 The LineageOS Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
on init
|
|
# take ownership of panel color mode node
|
|
chown system /sys/devices/50000000.host1x/tegradc.0/panel_color_mode
|
|
|
|
on post-fs-data
|
|
chown system system /sys/class/backlight/backlight/brightness
|