aboutsummaryrefslogtreecommitdiff
path: root/handlers/makecd
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2006-10-02 00:21:24 +0000
committerMicah Anderson <micah@riseup.net>2006-10-02 00:21:24 +0000
commit6d6d041bce7ddc077cb20ff0a63de4ca8b450403 (patch)
tree60d0f392c8056d7b0e7e8e483942696a5c1bc86c /handlers/makecd
parenta4360a23e9c2ee00a43dd76072b53c48db637911 (diff)
downloadbackupninja-6d6d041bce7ddc077cb20ff0a63de4ca8b450403.tar.gz
backupninja-6d6d041bce7ddc077cb20ff0a63de4ca8b450403.tar.bz2
Added changes from rhatto
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