summaryrefslogtreecommitdiff
path: root/beagle/debian-rfs/sbin/fsck.nfs
diff options
context:
space:
mode:
authorManuel Traut <manut@mecka.net>2011-04-29 09:09:27 +0200
committerManuel Traut <manut@mecka.net>2011-04-29 09:09:27 +0200
commit5238ad5a0c4a9e1c8cd036f5de4055e39bd71297 (patch)
tree4407c087b9fb5432b1dc11e70b52dacfa0b99feb /beagle/debian-rfs/sbin/fsck.nfs
parent60ead65c41afba7e6aa4bbcf507a1d52f7a8fe9f (diff)
added debootstrap stuff
Signed-off-by: Manuel Traut <manut@mecka.net>
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