base-files: show boot state on intramfs images
SVN-Revision: 20289
This commit is contained in:
parent
18aa68d368
commit
706b6b846f
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,9 @@ INITRAMFS=1
|
|||
|
||||
. /etc/preinit
|
||||
|
||||
set_state init
|
||||
echo "- init -"
|
||||
|
||||
# if we have no root parameter, just go to running from ramfs
|
||||
[ -z $rootfs ] && {
|
||||
export NOMOUNT="No Root"
|
||||
|
@ -76,3 +79,5 @@ mount -o move /sys /mnt/sys
|
|||
mount none /tmp -t tmpfs
|
||||
killall -q hotplug2
|
||||
exec switch_root -c /dev/console /mnt /sbin/init
|
||||
|
||||
set_state done
|
||||
|
|
Loading…
Reference in a new issue