From: Carl N. Baldwin Date: Fri, 13 Oct 2006 04:48:49 +0000 (-0600) Subject: Make the cdrecord command configurable X-Git-Tag: release-0.7~1 X-Git-Url: http://git.pippins.net/embedvideo/.git/static/images/%7Blink_ppi%7D?a=commitdiff_plain;h=68855587b49621cbf23afa79463a0bbc302b3a06;p=backups%2F.git Make the cdrecord command configurable --- diff --git a/scripts/burn-imgs.sh b/scripts/burn-imgs.sh index 69d192f..215e8a5 100755 --- a/scripts/burn-imgs.sh +++ b/scripts/burn-imgs.sh @@ -48,7 +48,7 @@ $cronstopstart stop renice -10 $$ # Burn the image to a disk. -cdrecord-wrapper.sh $cdrecordopts dev=$sdev $img >> $logfile 2>&1 +$cdrecord $cdrecordopts dev=$sdev $img >> $logfile 2>&1 if [ "0" != "$?" ]; then echo >&2 "cdrecord failed!" diff --git a/scripts/config.sh b/scripts/config.sh index 6eb6472..040da1f 100755 --- a/scripts/config.sh +++ b/scripts/config.sh @@ -13,7 +13,8 @@ sdev="ATA:1,0,0" noburnfile="$imagedir/noburn" backupeveryXdays=15 makeXcopies=2 -cdrecordopts="-v -dao" +cdrecord="cdrecord-wrapper.sh" +cdrecordopts="-v -dao" cronstopstart="/etc/init.d/cron" cacheburnimg=0 cacheburnimgdir="/tmp"