X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2ac70f21f8529e20bf939f76a14a4b3980d788de..a85e4d1eb9b4b46b2e4b5372c9f93d24fb125754:/target/linux/generic-2.6/base-files/init

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