1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-07-06 00:59:47 +02:00

use sysvinit

This commit is contained in:
DanyLE 2023-08-02 00:51:40 +02:00
parent a23a5394b0
commit bb1c6beb07
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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