summaryrefslogtreecommitdiff
path: root/scripts/live
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2012-02-17 16:34:44 +0100
committerDaniel Baumann <daniel@debian.org>2012-04-05 07:46:24 +0200
commit414dbb0e24c4e6be48524a94c11212ce2977bf86 (patch)
tree7546b5c356e6263a0bd37f77efb4ffd595aab46e /scripts/live
parentd68c70d805064b61d6e63377a299066301af5f58 (diff)
downloadlive-boot-414dbb0e24c4e6be48524a94c11212ce2977bf86.tar.gz
live-boot-414dbb0e24c4e6be48524a94c11212ce2977bf86.zip
Cleanup.
Diffstat (limited to 'scripts/live')
-rwxr-xr-xscripts/live8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/live b/scripts/live
index a701f12..3a1eb60 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1219,16 +1219,16 @@ setup_unionfs ()
# Adding custom persistent
if [ -n "${PERSISTENT}" ] && [ -z "${NOPERSISTENT}" ]
then
- local custom_mounts="/custom_mounts.list"
+ local custom_mounts="/tmp/custom_mounts.list"
rm -rf ${custom_mounts} 2> /dev/null
# Gather information about custom mounts from devies detected as overlays
- get_custom_mounts ${overlay_devices} ${custom_mounts} ${rootmnt}
+ get_custom_mounts ${overlay_devices} ${custom_mounts}
- [ "${DEBUG}" = "Yes" ] && cp ${custom_mounts} "${rootmnt}/live/persistent"
+ [ -n "${DEBUG}" ] && cp ${custom_mounts} "${rootmnt}/live/persistent"
# Now we do the actual mounting (and symlinking)
- do_custom_mounts ${custom_mounts} ${rootmnt}
+ do_custom_mounts ${custom_mounts}
rm ${custom_mounts}
# Look for other snapshots to copy in