mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-08-02 22:20:41 +02:00
use sysvinit
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
DESC="Custom configuration"
|
||||
. /etc/profile
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
@ -13,6 +14,10 @@ case "$1" in
|
||||
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
|
||||
;;
|
||||
*)
|
||||
N=/etc/init.d/$NAME
|
||||
|
@ -61,7 +61,7 @@ EFI_DIR=/sys/firmware/efi # place to store device firmware information
|
||||
touch /etc/fstab
|
||||
|
||||
# initialize /proc, /sys, /run/lock and /var/lock
|
||||
mkdir -p /proc /sys /run/lock /var/lock
|
||||
mkdir -p /proc /sys /run/lock /var/lock /var/run
|
||||
mount -t proc proc /proc
|
||||
mount -t sysfs sysfs /sys
|
||||
|
||||
|
Reference in New Issue
Block a user