X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Fmakecd;h=cdfa6b1a631535d13666cb30624440241eca9a6e;hp=81c957d8146118698c9cddbedcd6769ad1691093;hb=be75e4e6c536882c14db9a41c61585e7a9c045f6;hpb=1d3e3482bef095acc4e3d2ebd058037b7710001b diff --git a/handlers/makecd b/handlers/makecd index 81c957d..cdfa6b1 100644 --- a/handlers/makecd +++ b/handlers/makecd @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # burncd handler script for backupninja # @@ -9,6 +10,7 @@ getconf system no getconf isoonly yes getconf imagefile backup.iso getconf device +getconf nicelevel 0 # define needed executables: MKISOFS="/usr/bin/mkisofs" @@ -34,7 +36,7 @@ if [ "$isoonly" == "no" ]; then fi outputfile="$backupdir/$imagefile" -execstr="$MKISOFS --quiet -R -o $outputfile " +execstr="nice -n $nicelevel $MKISOFS --quiet -R -o $outputfile " str="" # excludes