projects
/
openwrt
/
staging
/
mans0n.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18aa68d
)
base-files: show boot state on intramfs images
author
Gabor Juhos
<juhosg@openwrt.org>
Thu, 18 Mar 2010 19:19:21 +0000
(19:19 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Thu, 18 Mar 2010 19:19:21 +0000
(19:19 +0000)
SVN-Revision: 20289
target/linux/generic-2.6/base-files/init
patch
|
blob
|
history
diff --git
a/target/linux/generic-2.6/base-files/init
b/target/linux/generic-2.6/base-files/init
index a3387eb1079236ee9cf123c9f854bce1f527780a..9e8ba7c5eb0c3f2809d0afb8b4ffcab39011f3da 100755
(executable)
--- 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