mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-07-31 05:00:42 +02:00
fix lcd backlight problem
This commit is contained in:
@ -6,8 +6,9 @@ DESC="Auto deployment configuration from media"
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Start $DESC: "
|
||||
dmesg | tee /boot/kern.log
|
||||
lsmod | tee /boot/lsmod.txt
|
||||
# for some reason the LCD backlight is turned off
|
||||
# need to turn it on manually
|
||||
echo 0 > /sys/class/backlight/backlight/bl_power
|
||||
if [ -f "/boot/fs_resize" ]; then
|
||||
/usr/bin/expandfs.sh
|
||||
touch /boot/home_partition_should_be_formated
|
||||
|
Reference in New Issue
Block a user