summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/12fstab
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/live-bottom/12fstab')
-rwxr-xr-xscripts/live-bottom/12fstab31
1 files changed, 31 insertions, 0 deletions
diff --git a/scripts/live-bottom/12fstab b/scripts/live-bottom/12fstab
new file mode 100755
index 0000000..fa9c642
--- /dev/null
+++ b/scripts/live-bottom/12fstab
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+PREREQ=""
+DESCRIPTION="Configuring fstab..."
+FSTAB=/root/etc/fstab
+
+. /scripts/live-functions
+
+prereqs()
+{
+ echo "$PREREQ"
+}
+
+case $1 in
+# get pre-requisites
+prereqs)
+ prereqs
+ exit 0
+ ;;
+esac
+
+log_begin_msg "$DESCRIPTION"
+
+cat > $FSTAB <<EOF
+unionfs / unionfs rw 0 0
+tmpfs /tmp tmpfs nosuid,nodev 0 0
+EOF
+
+rm -f /root/etc/rcS.d/S*checkroot.sh
+
+log_end_msg