git://git.onelab.eu
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update to revision 2844
[util-vserver.git]
/
scripts
/
vserver.functions
diff --git
a/scripts/vserver.functions
b/scripts/vserver.functions
index
a1cb49a
..
90a4c1f
100644
(file)
--- a/
scripts/vserver.functions
+++ b/
scripts/vserver.functions
@@
-147,6
+147,8
@@
function _generateIONiceCommand
local ionice_class=2
local ionice_priority=0
+ test -n "$_IONICE" || return 0
+
test -r "$vdir/ionice/class" && read ionice_class <"$vdir"/ionice/class
test -r "$vdir/ionice/priority" && read ionice_priority <"$vdir"/ionice/priority