mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-11-19 11:28:21 +01:00
use sysvinit
This commit is contained in:
parent
692ad53c19
commit
37a3490424
@ -10,8 +10,7 @@ exec_enabled() {
|
|||||||
|
|
||||||
exec_run() {
|
exec_run() {
|
||||||
if [ ! -d $EXEC_DIR ]; then
|
if [ ! -d $EXEC_DIR ]; then
|
||||||
msg "No contents to exec in $EXEC_DIR. Starting shell ..."
|
msg "No contents to exec in $EXEC_DIR. skipping ..."
|
||||||
sh
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Load and run modules
|
# Load and run modules
|
||||||
|
@ -159,5 +159,7 @@ for m in $MODULES_DIR/*; do
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
exec /sbin/init
|
||||||
|
|
||||||
# Catch all
|
# Catch all
|
||||||
fatal "ERROR: Initramfs failed to initialize the system."
|
fatal "ERROR: Initramfs failed to initialize the system."
|
||||||
|
Loading…
Reference in New Issue
Block a user