projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
swconfig: Fix a bug in use of SWITCH_PORT_FLAG_TAGGED
[openwrt.git]
/
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
a3387eb
..
9e8ba7c
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
. /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"
# 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
mount none /tmp -t tmpfs
killall -q hotplug2
exec switch_root -c /dev/console /mnt /sbin/init
+
+set_state done
This page took
0.019926 seconds
and
4
git commands to generate.