Fix: ionice: ignoring given class data for idle class

This commit is contained in:
Kolan Sh 2012-08-17 11:08:15 +04:00
parent 3ceacc5c55
commit 51b837be2a
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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 -- \"$@\"`"