summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ()
{