X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fcasper-bottom%2F05mountpoints;h=20a28fdec173e222644d0b0d1a206db7ced93c1c;hb=refs%2Ftags%2Fdebian%2F1.65%2Bdebian-1;hp=33f265d7904daab66b07aa2938f390558f89bc52;hpb=a4f706a4bfe34ed6064c79d5ad7b3295fb0431cd;p=live-boot-grml.git diff --git a/scripts/casper-bottom/05mountpoints b/scripts/casper-bottom/05mountpoints index 33f265d..20a28fd 100755 --- a/scripts/casper-bottom/05mountpoints +++ b/scripts/casper-bottom/05mountpoints @@ -21,7 +21,9 @@ esac log_begin_msg "$DESCRIPTION" # Move to the new root filesystem so that programs there can get at it. -mkdir -p /root/live_media -mount -n -o move /live_media /root/live_media +if [ ! -d /root/live_media ]; then + mkdir -p /root/live_media + mount -n -o move /live_media /root/live_media +fi log_end_msg