projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ar71xx] build firmware image for the MZK-W300NH board
[openwrt.git]
/
target
/
linux
/
ifxmips
/
nfs
/
base-files
/
etc
/
preinit.arch
diff --git
a/target/linux/ifxmips/nfs/base-files/etc/preinit.arch
b/target/linux/ifxmips/nfs/base-files/etc/preinit.arch
index
61662bc
..
7ee8e3e
100755
(executable)
--- a/
target/linux/ifxmips/nfs/base-files/etc/preinit.arch
+++ b/
target/linux/ifxmips/nfs/base-files/etc/preinit.arch
@@
-1,3
+1,5
@@
-echo "- init nfs -"
-exec /sbin/init
+grep "/dev/root" /proc/mounts |grep -q nfs && {
+ echo "- init nfs -"
+ exec /sbin/init
+}
This page took
0.024291 seconds
and
4
git commands to generate.