projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ooops, m4 is already part of the host tools
[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.023475 seconds
and
4
git commands to generate.