summaryrefslogtreecommitdiff
path: root/beagle/debian-rfs/sbin/fsck.nfs
diff options
context:
space:
mode:
Diffstat (limited to 'beagle/debian-rfs/sbin/fsck.nfs')
-rwxr-xr-xbeagle/debian-rfs/sbin/fsck.nfs21
1 files changed, 21 insertions, 0 deletions
diff --git a/beagle/debian-rfs/sbin/fsck.nfs b/beagle/debian-rfs/sbin/fsck.nfs
new file mode 100755
index 0000000..817da9b
--- /dev/null
+++ b/beagle/debian-rfs/sbin/fsck.nfs
@@ -0,0 +1,21 @@
+#! /bin/sh
+#
+# fsck.nfs
+#
+# Dummy fsck.nfs file that always returns success. We
+# need this for when the root file system is on NFS:
+# there is no way to find out if root is NFS mounted
+# and we really want to do a "fsck -a /".
+#
+
+while :
+do
+ case "$1" in
+ -*) shift ;;
+ *) break ;;
+ esac
+done
+
+echo "$1: NFS file system."
+
+exit 0