luckfox-pico/project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-buildroot-rgb/etc/init.d/S25backlight

18 lines
160 B
Bash
Executable File

#!/bin/sh
start(){
if [ -f "/oem/usr/ko/pwm_bl.ko" ]; then
sleep 1
insmod /oem/usr/ko/pwm_bl.ko
fi
}
case $1 in
start)
start &
;;
*)
exit 1
;;
esac