tazusb rev 37 2.0
iso2usb: free loop device so we can gen multi liveUSB with different ISO
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Feb 27 00:38:33 2009 +0100 (2009-02-27) |
parents | d020915532df |
children | ae8718813331 |
files | tazusb |
line diff
1.1 --- a/tazusb Fri Feb 20 01:38:24 2009 +0100 1.2 +++ b/tazusb Fri Feb 27 00:38:33 2009 +0100 1.3 @@ -271,6 +271,7 @@ 1.4 umount /media/cdrom 1.5 reboot || reboot -f 1.6 else 1.7 + umount $TARGET_ROOT 1.8 umount /media/cdrom 1.9 echo "" 1.10 exit 0 1.11 @@ -518,6 +519,7 @@ 1.12 copy_cdrom_files 1.13 install_boot 1.14 exit_or_reboot 1.15 + losetup -d /dev/loop0 1.16 ;; 1.17 clean) 1.18 check_root