From: Gabor Juhos Date: Thu, 18 Mar 2010 19:19:21 +0000 (+0000) Subject: base-files: show boot state on intramfs images X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=dc2ec0f4d95b4cb2ebad9f0691cb055f8038f8ef base-files: show boot state on intramfs images SVN-Revision: 20289 --- diff --git a/target/linux/generic-2.6/base-files/init b/target/linux/generic-2.6/base-files/init index a3387eb107..9e8ba7c5eb 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