]>
git.wh0rd.org - dump.git/blob - examples/dump_on_cd_2/EN/dump_userexit_DVD
2 # supplied info from "dump -F":
7 RECORD_BIN
="/usr/bin/dvdrecord dev=0,0,0 fs=64M speed=2 "
9 TSIZE
="$(echo "$CD_CAPACITY*1024*1024" | bc -l )"
10 echo "Please insert the next DVD (No. $NUM)"
12 while [ "$ANSWER" != "y" ] ; do
13 read -p "Is the DVD ready? (y/n)" ANSWER
14 if [ "$ANSWER" == "y" ] ; then
15 $RECORD_BIN -blank=fast
16 $RECORD_BIN -dao -eject -pad -tsize=$TSIZE -data $1 &
18 elif [ "$ANSWER" == "n" ] ; then
20 read -p "Do you really want to exit? (y/n)" EXIT
21 if [ "$EXIT" == "y" ] ; then