Fix: ionice: ignoring given class data for idle class
This commit is contained in:
parent
3ceacc5c55
commit
51b837be2a
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
STAGE=0
|
STAGE=0
|
||||||
NICE_CMD="nice -n 19 ionice -c2 -n7"
|
NICE_CMD="nice -n 19 ionice -c2"
|
||||||
|
|
||||||
source /etc/make.conf
|
source /etc/make.conf
|
||||||
[ -f /etc/gentoo-upgrade.conf ] && source /etc/gentoo-upgrade.conf
|
[ -f /etc/gentoo-upgrade.conf ] && source /etc/gentoo-upgrade.conf
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
NICE_CMD="nice -n 19 ionice -c2 -n7"
|
NICE_CMD="nice -n 19 ionice -c2"
|
||||||
|
|
||||||
REVISION=`kernel-config list | grep \*$ | cut -d" " -f6 | cut -d- -f2-8`
|
REVISION=`kernel-config list | grep \*$ | cut -d" " -f6 | cut -d- -f2-8`
|
||||||
[ "" == "$REVISION" ] && echo "No appropriate kernel revision found ;-(" && exit -1
|
[ "" == "$REVISION" ] && echo "No appropriate kernel revision found ;-(" && exit -1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
SILENT=false
|
SILENT=false
|
||||||
NICE_CMD="nice -n 19 ionice -c2 -n7"
|
NICE_CMD="nice -n 19 ionice -c2"
|
||||||
|
|
||||||
# available parameters
|
# available parameters
|
||||||
eval set -- "`getopt -o hs --long help,silent -- \"$@\"`"
|
eval set -- "`getopt -o hs --long help,silent -- \"$@\"`"
|
||||||
|
|
Loading…
Reference in New Issue