X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F12fstab;h=389f53e983c6caab003b1ce86dd77e2efbadd3ce;hb=cdb98bbbdc41b29c6b94dc5aed36393daec84cf8;hp=fa9c64238b1714df5a327508c46d95edc1442487;hpb=0a854a1e9307affdeaf96cb3ec0c864b171d66ca;p=live-boot-grml.git 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 <