diff options
author | Micah Anderson <micah@riseup.net> | 2008-07-25 20:11:24 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-07-25 20:11:24 +0000 |
commit | 351369b874f32e2371e083f3a17abae45729af79 (patch) | |
tree | f4f2cd2f78f6cadbcac985d04729d66d797f7ee2 /handlers | |
parent | d404d8b754758dd3ac27c0be280f3ef9187ffce4 (diff) | |
download | backupninja-351369b874f32e2371e083f3a17abae45729af79.tar.gz backupninja-351369b874f32e2371e083f3a17abae45729af79.tar.bz2 |
update makecd handler to work with new toolset
Diffstat (limited to 'handlers')
-rw-r--r-- | handlers/makecd.in | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/handlers/makecd.in b/handlers/makecd.in index cdfa6b1..1a95d6d 100644 --- a/handlers/makecd.in +++ b/handlers/makecd.in @@ -13,10 +13,9 @@ getconf device getconf nicelevel 0 # define needed executables: -MKISOFS="/usr/bin/mkisofs" +MKISOFS="/usr/bin/genisoimage" GROWISOFS="/usr/bin/growisofs" -#CDRECORD="/usr/bin/cdrecord" -CDRECORD="/usr/bin/cdrecord.mmap" +CDRECORD="/usr/bin/wodim" CDRDAO="/usr/bin/cdrdao" DVDINFO="/usr/bin/dvd+rw-mediainfo" @@ -26,10 +25,10 @@ DVDINFO="/usr/bin/dvd+rw-mediainfo" [ -d $backupdir ] || fatal "Backup directory '$backupdir'" [ -e "$target" ] || fatal "target does not exist " -[ -x "$MKISOFS" ] || debug 3 "echo executable mkisofs not present" -[ -x "$GROWISOFS" ] || debug 3 "echo executable growisofs not present" -[ -x "$CDRECORD" ] || debug 3 "echo executable cdrecord not present" -[ -x "$CDRDAO" ] || debug 3 "echo executable cdrdao not present" +[ -x "$MKISOFS" ] || debug 3 "echo executable $MKISOFS not present" +[ -x "$GROWISOFS" ] || debug 3 "echo executable $GROWISOFS not present" +[ -x "$CDRECORD" ] || debug 3 "echo executable $CDRECORD not present" +[ -x "$CDRDAO" ] || debug 3 "echo executable $CDRDAO not present" if [ "$isoonly" == "no" ]; then [ -e $device ] || fatal "No Burner device available" @@ -86,3 +85,4 @@ if [ "$isoonly" == "no" ]; then fi fi return 0 + |