X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=bin%2Flive-snapshot;h=6e4409cceb9ac1ca304b17975a6f7ea082f8c0ab;hb=f0d756e45675fbf829e8ee71ded7c42126dd43ab;hp=ffa467052f8ebe7eaf2fe267fcbb01bf8f21d221;hpb=64be9d84a425d267338004c0832ca5c9a79ed312;p=live-boot-grml.git 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