Fix /etc/init.d/halt.sh to unmount the mount point and not the device. Also change it to 'mount -d' to detach the loop device. Patch by Kalin KOZHUHAROV <kalin@ThinRope.net>, bug #26256.
Changed paths: