typo in backupninja.1
[matthijs/upstream/backupninja.git] / handlers / makecd
index 81c957d8146118698c9cddbedcd6769ad1691093..cdfa6b1a631535d13666cb30624440241eca9a6e 100644 (file)
@@ -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