X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Fmakecd;h=cdfa6b1a631535d13666cb30624440241eca9a6e;hp=97951d2aae16456cc492d1d4772bd7aedc06c9a8;hb=be75e4e6c536882c14db9a41c61585e7a9c045f6;hpb=cfc47e5571e61f4323b9f64f9cbb64dfbc4bf1b4 diff --git a/handlers/makecd b/handlers/makecd index 97951d2..cdfa6b1 100644 --- a/handlers/makecd +++ b/handlers/makecd @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # burncd handler script for backupninja # @@ -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