From 68855587b49621cbf23afa79463a0bbc302b3a06 Mon Sep 17 00:00:00 2001 From: "Carl N. Baldwin" Date: Thu, 12 Oct 2006 22:48:49 -0600 Subject: [PATCH] Make the cdrecord command configurable --- scripts/burn-imgs.sh | 2 +- scripts/config.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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" -- 2.34.1