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