# if the user supplies "none" for the image file, # skip the qmount step. Thanks for reporting, Fabry! if [ "$IMGFILE" != "none" ] ; then qmount $IMGFILE $CHROOT MOUNTSUCCESS=$? else if [ -f "$CHROOT/var/lock/qmount-complete" ] ; then MOUNTSUCCESS=1 else echo "$IMGFILE" > $CHROOT/var/lock/qmount-complete MOUNTSUCCESS=0 fi fi