#!/bin/bash

J1=J
J2=("Compare Data CD Image")

function compare_img {

    select_inputfile

    if [ "$YNRETVAL" = "0" ]; then

	select_device

	if [ "$RETVAL" = "0" ]; then
	    exec_command "cmp -l $CDDEVICE $INFILE"
	fi

    fi
}