mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-02-20 16:12:47 +01:00
use sysvinit
This commit is contained in:
parent
a23a5394b0
commit
bb1c6beb07
@ -11,6 +11,8 @@ case "$1" in
|
||||
echo 0 > /sys/class/backlight/backlight/bl_power
|
||||
# hostname
|
||||
echo "diya-recovery" > /proc/sys/kernel/hostname
|
||||
# mount boot
|
||||
mount /dev/mmcblk0p0 /boot
|
||||
;;
|
||||
*)
|
||||
N=/etc/init.d/$NAME
|
||||
|
@ -20,6 +20,7 @@ INITSCRIPT_NAME = "confd"
|
||||
INITSCRIPT_PARAMS = "start 30 S ."
|
||||
|
||||
do_install() {
|
||||
install -d ${D}/etc/init.d
|
||||
|
||||
# base
|
||||
install -m 0755 ${WORKDIR}/init ${D}/init
|
||||
|
Loading…
x
Reference in New Issue
Block a user