diff options
author | Daniel Baumann <daniel@debian.org> | 2008-03-21 07:58:25 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:44:53 +0100 |
commit | a817f3140b812b4ee570def29e9b47b60c3dfa8d (patch) | |
tree | 44347156b27f536f698454afdfd3dcceb4a797bf /bin/live-snapshot | |
parent | f0d756e45675fbf829e8ee71ded7c42126dd43ab (diff) | |
download | live-boot-a817f3140b812b4ee570def29e9b47b60c3dfa8d.tar.gz live-boot-a817f3140b812b4ee570def29e9b47b60c3dfa8d.zip |
Adjusting live-snapshot to live-initramfs.
Diffstat (limited to 'bin/live-snapshot')
-rwxr-xr-x | bin/live-snapshot | 32 |
1 files changed, 18 insertions, 14 deletions
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 |