X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F12fstab;h=9c8bfd7268dd27bb4e643d1e50b56f1eea48b8a3;hb=fccfd0920ef2d0177d26e76dcfcd132cf53d6988;hp=fa9c64238b1714df5a327508c46d95edc1442487;hpb=292e65d84b99afa4c9240c23e1433b828af80ba3;p=live-boot-grml.git diff --git a/scripts/live-bottom/12fstab b/scripts/live-bottom/12fstab index fa9c642..9c8bfd7 100755 --- a/scripts/live-bottom/12fstab +++ b/scripts/live-bottom/12fstab @@ -1,31 +1,44 @@ #!/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 <