Make the cdrecord command configurable
authorCarl N. Baldwin <carl@ecbaldwin.net>
Fri, 13 Oct 2006 04:48:49 +0000 (22:48 -0600)
committerCarl N. Baldwin <carl@ecbaldwin.net>
Fri, 13 Oct 2006 04:48:49 +0000 (22:48 -0600)
scripts/burn-imgs.sh
scripts/config.sh

index 69d192fd4c3ba92eb3d5adbcf1cb3b66d456084b..215e8a507cb5f7f331fe9ea8a2237c8c9a729284 100755 (executable)
@@ -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!"
index 6eb6472d4249781e211ec595469071111f456ea6..040da1f18622cb7ee3bfbe81b1ecd0f04f80ee44 100755 (executable)
@@ -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"