summaryrefslogtreecommitdiff
path: root/scripts/casper-bottom/05mountpoints
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 14:46:24 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 14:46:24 +0200
commita4a7503df76005df67b006e1324004c808830c32 (patch)
treec32374267b6ac6e43179a1a8b66ef69a4f2731bd /scripts/casper-bottom/05mountpoints
parenta4f706a4bfe34ed6064c79d5ad7b3295fb0431cd (diff)
downloadlive-boot-a4a7503df76005df67b006e1324004c808830c32.tar.gz
live-boot-a4a7503df76005df67b006e1324004c808830c32.zip
Adding casper 1.65+debian-1.
Diffstat (limited to 'scripts/casper-bottom/05mountpoints')
-rwxr-xr-xscripts/casper-bottom/05mountpoints6
1 files changed, 4 insertions, 2 deletions
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