From f0d756e45675fbf829e8ee71ded7c42126dd43ab Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 21 Mar 2008 07:57:11 +0100 Subject: Merging casper 1.124. --- bin/live-snapshot | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/live-snapshot b/bin/live-snapshot index ffa4670..6e4409c 100755 --- a/bin/live-snapshot +++ b/bin/live-snapshot @@ -57,7 +57,7 @@ fi MOUNTP="" COW="" DEV="" -DEST="" +DEST="${MOUNTP}/live-sn.cpio.gz" TYPE="" DESKTOP_LINK="" @@ -331,6 +331,18 @@ Defaults () ;; esac + case "${TYPE}" in + cpio) + DEST="${MOUNTP}/casper-sn.cpio.gz" ;; + squashfs) + DEST="${MOUNTP}/casper-sn.squashfs" ;; + ext2) + DEST="${MOUNTP}/casper-sn.ext2" ;; + *) + echo "Internal error." + exit 1 + ;; + esac #if [ -d #if Is_same_mount fi -- cgit v1.2.3