X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=components%2F9990-overlay.sh;h=54b75e50d4c887f7bb403e2507f758cb48926f16;hb=f2dcec3f21086a557db86ae928295474be79d35b;hp=316a21d2cc8b6efd7609584b11186e4e505def81;hpb=c2bad45e991632c647f0c6c542bd4a0514f32fe7;p=live-boot-grml.git diff --git a/components/9990-overlay.sh b/components/9990-overlay.sh index 316a21d..54b75e5 100755 --- a/components/9990-overlay.sh +++ b/components/9990-overlay.sh @@ -8,16 +8,12 @@ setup_unionfs () rootmnt="${2}" addimage_directory="${3}" - case ${UNIONTYPE} in - aufs|overlay) - if ! cut -f2 /proc/filesystems | grep -q "^${UNIONTYPE}\$" - then - panic "${UNIONTYPE} not available." - fi + if ! cut -f2 /proc/filesystems | grep -q "^${UNIONTYPE}\$" + then + panic "${UNIONTYPE} not available." + fi - modprobe -q -b ${UNIONTYPE} - ;; - esac + modprobe -q -b ${UNIONTYPE} # run-init can't deal with images in a subdir, but we're going to # move all of these away before it runs anyway. No, we're not,