diff options
| author | Daniel Baumann <daniel@debian.org> | 2008-03-21 07:57:11 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:44:53 +0100 |
| commit | f0d756e45675fbf829e8ee71ded7c42126dd43ab (patch) | |
| tree | 41a0de2732431514f00e6a94019dc45a3907feb3 /bin | |
| parent | 64be9d84a425d267338004c0832ca5c9a79ed312 (diff) | |
| download | live-boot-f0d756e45675fbf829e8ee71ded7c42126dd43ab.tar.gz live-boot-f0d756e45675fbf829e8ee71ded7c42126dd43ab.zip | |
Merging casper 1.124.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/live-snapshot | 14 |
1 files changed, 13 insertions, 1 deletions
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 |
