summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-06-04 09:18:13 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:53:26 +0100
commita33a540745114d9f54b43a62240ccc2209626537 (patch)
tree087cdf7ce31752935caa5355288c8562fd2ff2a6 /scripts
parent9ce16839bd6d9da58889eaec40cacb5fa92b3809 (diff)
downloadlive-boot-a33a540745114d9f54b43a62240ccc2209626537.tar.gz
live-boot-a33a540745114d9f54b43a62240ccc2209626537.zip
Renaming internal ext_mountpoint variable to alt_mountpoint for clarity.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/live b/scripts/live
index a9c0f13..e93570f 100755
--- a/scripts/live
+++ b/scripts/live
@@ -8,7 +8,7 @@ echo "/root/lib" >> /etc/ld.so.conf
echo "/root/usr/lib" >> /etc/ld.so.conf
mountpoint="/live/image"
-ext_mountpoint="/ext_volume"
+alt_mountpoint="/media"
LIVE_MEDIA_PATH="live"
root_persistence="live-rw"
@@ -804,8 +804,8 @@ do_httpmount ()
iso|squashfs|tgz|tar)
if [ "${extension}" = "iso" ]
then
- mkdir -p "${ext_mountpoint}"
- dest="${ext_mountpoint}"
+ mkdir -p "${alt_mountpoint}"
+ dest="${alt_mountpoint}"
else
local dest="${mountpoint}/${LIVE_MEDIA_PATH}"
mount -t ramfs ram "${mountpoint}"
@@ -859,10 +859,10 @@ do_httpmount ()
if [ ${rc} != 0 ]
then
- if [ -d "${ext_mountpoint}" ]
+ if [ -d "${alt_mountpoint}" ]
then
- umount "${ext_mountpoint}"
- rmdir "${ext_mountpoint}"
+ umount "${alt_mountpoint}"
+ rmdir "${alt_mountpoint}"
fi
umount "${mountpoint}"
elif [ "${webfile}" != "FETCH" ] ; then