commit
9d0da0e33b
3 changed files with 37 additions and 31 deletions
|
@ -1,34 +1,5 @@
|
|||
#!/bin/bash
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
|
||||
# Copyright (C) 2023-present Fewtarius (https://github.com/fewtarius)
|
||||
|
||||
### If you add a variable that should persist across processes,
|
||||
### remember to export it here.
|
||||
|
||||
export SLOW_CORES \
|
||||
FAST_CORES \
|
||||
CPU_FREQ \
|
||||
DMC_FREQ \
|
||||
GPU_FREQ \
|
||||
DEVICE_AUDIO_MIXER \
|
||||
DEVICE_BRIGHTNESS \
|
||||
DEVICE_FAKE_JACKSENSE \
|
||||
DEVICE_FUNC_KEYA_MODIFIER \
|
||||
DEVICE_FUNC_KEYB_MODIFIER \
|
||||
DEVICE_HAS_FAN \
|
||||
DEVICE_HEADPHONE_DEV \
|
||||
DEVICE_INTERNAL_WIFI \
|
||||
DEVICE_JACK \
|
||||
DEVICE_KEY_VOLUMEDOWN \
|
||||
DEVICE_KEY_VOLUMEUP \
|
||||
DEVICE_LED_CONTROL \
|
||||
DEVICE_PLAYBACK_PATH_HP \
|
||||
DEVICE_PLAYBACK_PATH_SPK \
|
||||
DEVICE_POWER_LED \
|
||||
DEVICE_PWM_FAN \
|
||||
DEVICE_PWM_MOTOR \
|
||||
DEVICE_TEMP_SENSOR \
|
||||
DEVICE_VOLUMECTL \
|
||||
DEVICE_WIFI \
|
||||
DEVICE_WIFI_MODULE \
|
||||
UI_SERVICE
|
||||
ln -sf /etc/profile.d/999-export /storage/.config/profile.d
|
||||
|
|
34
packages/hardware/quirks/profile.d/999-export
Executable file
34
packages/hardware/quirks/profile.d/999-export
Executable file
|
@ -0,0 +1,34 @@
|
|||
#!/bin/bash
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
|
||||
|
||||
### If you add a variable that should persist across processes,
|
||||
### remember to export it here.
|
||||
|
||||
export SLOW_CORES \
|
||||
FAST_CORES \
|
||||
CPU_FREQ \
|
||||
DMC_FREQ \
|
||||
GPU_FREQ \
|
||||
DEVICE_AUDIO_MIXER \
|
||||
DEVICE_BRIGHTNESS \
|
||||
DEVICE_FAKE_JACKSENSE \
|
||||
DEVICE_FUNC_KEYA_MODIFIER \
|
||||
DEVICE_FUNC_KEYB_MODIFIER \
|
||||
DEVICE_HAS_FAN \
|
||||
DEVICE_HEADPHONE_DEV \
|
||||
DEVICE_INTERNAL_WIFI \
|
||||
DEVICE_JACK \
|
||||
DEVICE_KEY_VOLUMEDOWN \
|
||||
DEVICE_KEY_VOLUMEUP \
|
||||
DEVICE_LED_CONTROL \
|
||||
DEVICE_PLAYBACK_PATH_HP \
|
||||
DEVICE_PLAYBACK_PATH_SPK \
|
||||
DEVICE_POWER_LED \
|
||||
DEVICE_PWM_FAN \
|
||||
DEVICE_PWM_MOTOR \
|
||||
DEVICE_TEMP_SENSOR \
|
||||
DEVICE_VOLUMECTL \
|
||||
DEVICE_WIFI \
|
||||
DEVICE_WIFI_MODULE \
|
||||
UI_SERVICE
|
|
@ -83,6 +83,7 @@ if [ "${TARGET}" = "target" ] ; then
|
|||
if [ -d ${PKG_TMP_DIR}/autostart ]; then
|
||||
mkdir -p ${INSTALL}/usr/lib/autostart/common
|
||||
cp ${PKG_TMP_DIR}/autostart/* ${INSTALL}/usr/lib/autostart/common
|
||||
chmod 0755 ${INSTALL}/usr/lib/autostart/common/*
|
||||
fi
|
||||
|
||||
if [ -d ${PKG_TMP_DIR}/daemons ]; then
|
||||
|
|
Loading…
Reference in a new issue