summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/05mountpoints
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 14:46:42 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:31:05 +0100
commitfdd8036ba32ad88e83a61191cc4597ae060355d2 (patch)
treefe1bfc2da930128100db011d642be562ed82867e /scripts/live-bottom/05mountpoints
parent140b179f0ff73f3cc1c081f6e6641417a5a0788d (diff)
downloadlive-boot-fdd8036ba32ad88e83a61191cc4597ae060355d2.tar.gz
live-boot-fdd8036ba32ad88e83a61191cc4597ae060355d2.zip
Adding live-initramfs 1.99.2-1.
Diffstat (limited to 'scripts/live-bottom/05mountpoints')
-rwxr-xr-xscripts/live-bottom/05mountpoints7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/live-bottom/05mountpoints b/scripts/live-bottom/05mountpoints
index 028c74b..a334af8 100755
--- a/scripts/live-bottom/05mountpoints
+++ b/scripts/live-bottom/05mountpoints
@@ -27,9 +27,10 @@ log_begin_msg "Moving mount points..."
# live-initramfs script
# Move to the new root filesystem so that programs there can get at it.
-if [ ! -d /root/live/image ]; then
- mkdir -p /root/live/image
- mount -n --move /live/image /root/live/image
+if [ ! -d /root/live/image ]
+then
+ mkdir -p /root/live/image
+ mount -n --move /live/image /root/live/image
fi
log_end_msg