ooops, m4 is already part of the host tools
[openwrt.git] / target / linux / ifxmips / nfs / base-files / etc / preinit.arch
index 61662bc..7ee8e3e 100755 (executable)
@@ -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.