aboutsummaryrefslogtreecommitdiff
path: root/handlers/makecd
diff options
context:
space:
mode:
Diffstat (limited to 'handlers/makecd')
-rw-r--r--handlers/makecd3
1 files changed, 2 insertions, 1 deletions
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