summaryrefslogtreecommitdiff
path: root/sources/target_skeleton/etc/init.d/S01mount
diff options
context:
space:
mode:
Diffstat (limited to 'sources/target_skeleton/etc/init.d/S01mount')
-rwxr-xr-xsources/target_skeleton/etc/init.d/S01mount15
1 files changed, 15 insertions, 0 deletions
diff --git a/sources/target_skeleton/etc/init.d/S01mount b/sources/target_skeleton/etc/init.d/S01mount
new file mode 100755
index 000000000..85d3ab5a6
--- /dev/null
+++ b/sources/target_skeleton/etc/init.d/S01mount
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# Mount all filesystems. We don't mess with
+# fsck, since we don't need it here...
+
+echo -n "Mounting local file systems: "
+/bin/mount -a > /dev/null 2>&1
+if [ $? = 0 ] ; then
+ echo "ok"
+else
+ echo "failed"
+fi
+
+exit 0
+