diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-03-18 19:19:21 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-03-18 19:19:21 +0000 |
commit | d34c50b9fcd4b5f0d589e0e7f4a518da40aabdcc (patch) | |
tree | cc472c9fac91b27092892e9d6b20eb1ef7172a4d | |
parent | bba572559e28fffe3ac466ad39c1dd85bc7bf584 (diff) | |
download | master-187ad058-d34c50b9fcd4b5f0d589e0e7f4a518da40aabdcc.tar.gz master-187ad058-d34c50b9fcd4b5f0d589e0e7f4a518da40aabdcc.tar.bz2 master-187ad058-d34c50b9fcd4b5f0d589e0e7f4a518da40aabdcc.zip |
base-files: show boot state on intramfs images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20289 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | target/linux/generic-2.6/base-files/init | 5 |
1 files changed, 5 insertions, 0 deletions
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 |