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, 19 insertions, 12 deletions
diff --git a/scripts/live-bottom/12fstab b/scripts/live-bottom/12fstab
index fa9c642..389f53e 100755
--- a/scripts/live-bottom/12fstab
+++ b/scripts/live-bottom/12fstab
@@ -1,25 +1,32 @@
#!/bin/sh
-PREREQ=""
-DESCRIPTION="Configuring fstab..."
-FSTAB=/root/etc/fstab
+#set -e
-. /scripts/live-functions
+# initramfs-tools header
+
+PREREQ=""
prereqs()
{
- echo "$PREREQ"
+ echo "${PREREQ}"
}
-case $1 in
-# get pre-requisites
-prereqs)
- prereqs
- exit 0
- ;;
+case "${1}" in
+ prereqs)
+ prereqs
+ exit 0
+ ;;
esac
-log_begin_msg "$DESCRIPTION"
+# live-initramfs header
+
+. /scripts/live-functions
+
+log_begin_msg "Configuring fstab..."
+
+# live-initramfs script
+
+FSTAB=/root/etc/fstab
cat > $FSTAB <<EOF
unionfs / unionfs rw 0 0