summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMarco Amadori <amadorim@vdavda.com>2008-06-09 15:04:36 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:00 +0100
commit5ef821bfd0d30137175d5784cb2b24fef025ce6c (patch)
tree01fb8854a7b155f351b547c4978af7b5ecce763c /bin
parent9f0888fd9ffcbb319722a39e9f357693800f2b6b (diff)
downloadlive-boot-5ef821bfd0d30137175d5784cb2b24fef025ce6c.tar.gz
live-boot-5ef821bfd0d30137175d5784cb2b24fef025ce6c.zip
live-snapshot: cleaned and sorted used command line defaults.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/live-snapshot7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/live-snapshot b/bin/live-snapshot
index 5837f5d..7e68c59 100755
--- a/bin/live-snapshot
+++ b/bin/live-snapshot
@@ -40,13 +40,14 @@ SAFE_TMPDIR="/live"
# Permits multiple runs
MOUNTP="$(mktemp -d -p ${SAFE_TMPDIR} live-snapshot-mnt.XXXXXX)"
+DEST="${MOUNTP}/live-sn.cpio.gz"
+
+# Command line defaults and declarations
SNAP_COW="/live/cow"
SNAP_DEV=""
SNAP_OUTPUT=""
-DEST="${MOUNTP}/live-sn.cpio.gz"
-SNAP_TYPE="cpio"
-DESKTOP_LINK="/home/${USERNAME}/Desktop/live-snapshot"
SNAP_RESYNC_STRING=""
+SNAP_TYPE="cpio"
Error ()
{