#!/bin/sh # /usr/local/bin/toast toast iso image # Autodetect and uses first CD-RW toaster # # use: toast image.iso DEV=`cdrecord -scanbus | awk ' /(CD-RW)|(CD-W)/ { print $1; exit }'` nice --10 cdrecord -v speed=12 dev=$DEV $*