X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Fmakecd;h=cdfa6b1a631535d13666cb30624440241eca9a6e;hp=b176994e9f02531a4486c4a693ed3ac8ce4ba7f8;hb=be75e4e6c536882c14db9a41c61585e7a9c045f6;hpb=0d606253af6ecb8ede07b0991a1f295fb70e7e65 diff --git a/handlers/makecd b/handlers/makecd index b176994..cdfa6b1 100644 --- a/handlers/makecd +++ b/handlers/makecd @@ -10,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" @@ -35,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