summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/05mountpoints
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/live-bottom/05mountpoints')
-rwxr-xr-xscripts/live-bottom/05mountpoints6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/live-bottom/05mountpoints b/scripts/live-bottom/05mountpoints
index 411660d..36c2972 100755
--- a/scripts/live-bottom/05mountpoints
+++ b/scripts/live-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/cdrom
-mount -n -o move /cdrom /root/cdrom
+if [ ! -d /root/live_media ]; then
+ mkdir -p /root/live_media
+ mount -n -o move /live_media /root/live_media
+fi
log_end_msg