X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=blobdiff_plain;f=components%2F9990-misc-helpers.sh;h=9318a4bd92ef4c72b319c69fb9a26837d8b0646c;hp=4815553894272ae5d235bd0237e2b519381d535d;hb=e24d836cde9a318659eacea5f76e5a2b634a0b91;hpb=c5b6cb0b238bc8230a9366abafa73752dc093d27 diff --git a/components/9990-misc-helpers.sh b/components/9990-misc-helpers.sh index 4815553..9318a4b 100755 --- a/components/9990-misc-helpers.sh +++ b/components/9990-misc-helpers.sh @@ -1301,7 +1301,6 @@ do_union () unionmountopts="${unionmountopts}:${rofs}=${ro_opt}" done fi - mount -t ${UNIONTYPE} ${unionmountopts} ${UNIONTYPE} "${unionmountpoint}" ;; overlay) @@ -1321,9 +1320,10 @@ do_union () mkdir "${unionrw}/rw" mkdir "${unionrw}/work" unionmountopts="-o noatime,lowerdir=${unionro},upperdir=${unionrw}/rw,workdir=${unionrw}/work" - mount -t ${UNIONTYPE} ${unionmountopts} ${UNIONTYPE} "${unionmountpoint}" ;; esac + + mount -t ${UNIONTYPE} ${unionmountopts} ${UNIONTYPE} "${unionmountpoint}" } get_custom_mounts ()