projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58b7ed6
)
bugfix
author
Mike Baker
<mbm@openwrt.org>
Tue, 1 Mar 2005 06:56:22 +0000
(06:56 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Tue, 1 Mar 2005 06:56:22 +0000
(06:56 +0000)
SVN-Revision: 297
openwrt/target/default/target_skeleton/etc/preinit
patch
|
blob
|
history
diff --git
a/openwrt/target/default/target_skeleton/etc/preinit
b/openwrt/target/default/target_skeleton/etc/preinit
index 30c025be292707f3839009446f08ba174c28f7a1..01df2058313bba8130a9da91fb7538d6df18507e 100755
(executable)
--- a/
openwrt/target/default/target_skeleton/etc/preinit
+++ b/
openwrt/target/default/target_skeleton/etc/preinit
@@
-1,6
+1,5
@@
#!/bin/sh
mount none /proc -t proc
-mount none /tmp -t ramfs
insmod diag
echo 0x01 > /proc/sys/diag
sleep 1
@@
-17,7
+16,8
@@
else
pivot_root /jffs /jffs/rom
mount none /dev -t devfs
mount none /proc -t proc
- umount rom/proc
+ umount rom/proc
rom/dev
fi
fi
+mount none /tmp -t ramfs
exec /sbin/init