if [ -n "$check" ]; then
checkisomd5 --verbose $livedev || :
if [ $? -ne 0 ]; then
- echo "CD check failed!"
+ die "CD check failed!"
exit 1
fi
fi
mount -n -t $fstype -o $liverw $livedev $NEWROOT
RES=$?
if [ "$RES" != "0" ]; then
- echo "Failed to mount block device of live image"
+ die "Failed to mount block device of live image"
exit 1
fi
if [ -z "$setup" ]; then
if [ -n "$devspec" -a -n "$pathspec" ]; then
- echo "Unable to find persistent overlay; using temporary"
+ warn "Unable to find persistent overlay; using temporary"
sleep 5
fi
root="live:${root}"
rootok=1 ;;
esac
-echo "root was $root, liveroot is now $liveroot"
-
+info "root was $root, liveroot is now $liveroot"
# make sure that init doesn't complain
[ -z "$root" ] && root="live"