From: Daniel Baumann Date: Fri, 21 Mar 2008 06:58:25 +0000 (+0100) Subject: Adjusting live-snapshot to live-initramfs. X-Git-Tag: debian/2.0.15-1~585 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=a817f3140b812b4ee570def29e9b47b60c3dfa8d Adjusting live-snapshot to live-initramfs. --- diff --git a/bin/live-snapshot b/bin/live-snapshot index 6e4409c..5135ce3 100755 --- a/bin/live-snapshot +++ b/bin/live-snapshot @@ -331,20 +331,24 @@ 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 + case "${TYPE}" in + cpio) + DEST="${MOUNTP}/live-sn.cpio.gz" + ;; + + squashfs) + DEST="${MOUNTP}/live-sn.squashfs" + ;; + + ext2) + DEST="${MOUNTP}/live-sn.ext2" + ;; + + *) + echo "Internal error." + exit 1 + ;; + esac fi # check vars