[packages] turn some of the kernel dependencies the other way around to make it easie...
[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.020958 seconds and 4 git commands to generate.