X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;h=077ad52d94de0f12407ab337e44b86892d5b3e2e;hb=a844e2f2b5c126e6f3e54a65e69b8673553afdf3;hp=e80c47091a09dbb0060463f446e50a6c295b0f02;hpb=baa35e3dbde1d68bedca73fa03425d0a7d8b374c;p=live-boot-grml.git diff --git a/scripts/live b/scripts/live index e80c470..077ad52 100755 --- a/scripts/live +++ b/scripts/live @@ -1695,10 +1695,12 @@ setup_unionfs () # that we won't hide a previous mount. We also ignore # duplicate destinations in a more or less arbitrary way. [ -e "${bindings}" ] && sort -k2 -sbu ${bindings} >> ${custom_mounts} + rm -f ${bindings} # After all mounts are considered we add symlinks so they # won't be hidden by some mount. [ -e "${links}" ] && sort -k2 -sbu ${links} >> ${custom_mounts} + rm -f ${links} [ "${DEBUG}" = "Yes" ] && cp ${custom_mounts} ${persistent_backing}