[ar71xx] build firmware image for the MZK-W300NH board
[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.024291 seconds and 4 git commands to generate.