From 56f1be7e5c2c5851404fee9a74d9a04e7e975b00 Mon Sep 17 00:00:00 2001 From: juhosg Date: Thu, 18 Mar 2010 19:19:21 +0000 Subject: [PATCH] base-files: show boot state on intramfs images git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20289 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic-2.6/base-files/init | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/linux/generic-2.6/base-files/init b/target/linux/generic-2.6/base-files/init index a3387eb10..9e8ba7c5e 100755 --- a/target/linux/generic-2.6/base-files/init +++ b/target/linux/generic-2.6/base-files/init @@ -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