mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-08-01 21:50:55 +02:00
add base initscripts to initramfs image
This commit is contained in:
@ -10,19 +10,11 @@ case "$1" in
|
||||
# for some reason the LCD backlight is turned off
|
||||
# need to turn it on manually
|
||||
echo 0 > /sys/class/backlight/backlight/bl_power
|
||||
# hostname
|
||||
echo "diya-recovery" > /proc/sys/kernel/hostname
|
||||
# mount boot
|
||||
mount /dev/mmcblk0p1 /boot
|
||||
|
||||
cat << EOF > /boot/extraconfig.txt
|
||||
# initramfs recovery-${MACHINE}.cpio.gz followkernel
|
||||
EOF
|
||||
;;
|
||||
|
||||
stop)
|
||||
umount /boot
|
||||
;;
|
||||
|
||||
*)
|
||||
N=/etc/init.d/$NAME
|
||||
|
Reference in New Issue
Block a user