1
0
Fork 0

initiscript: don't start tuned daemon on s390/s390x

cpu and disk tuning doesn't work, net tuning makes no sense

Resolves: #624494
This commit is contained in:
Jan Vcelak 2011-01-04 17:41:20 +01:00
parent 572c9d6d16
commit 3393817863

View file

@ -34,6 +34,10 @@ start () {
echo $"User has insufficient privilege."
exit 4
fi
if uname -p | grep -q '^s390x\?$'; then
echo $"Not starting tuned (no need on s390/s390x architecture)."
exit 0
fi
[ -x $exec ] || exit 5
[ -f $config ] || exit 6
echo -n $"Starting $prog: "