mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-26 02:38:22 +01:00
use sysvinit
This commit is contained in:
parent
ca78790be1
commit
6436a22054
20
recipes-diya/initramfs/files/confd
Normal file
20
recipes-diya/initramfs/files/confd
Normal file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
DESC="Auto deployment configuration from media"
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Start $DESC: "
|
||||
# for some reason the LCD backlight is turned off
|
||||
# need to turn it on manually
|
||||
echo 0 > /sys/class/backlight/backlight/bl_power
|
||||
;;
|
||||
*)
|
||||
N=/etc/init.d/$NAME
|
||||
echo "Usage: $N {start}" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user