Tweak the Kindle startup script.

Not a huge fan of negative nice values, you're screwed if it chokes
@ 100% CPU on UP systems.
Besides, AFAICT, neither awesome nor the Booklet thread runs at negative values.
This commit is contained in:
NiLuJe
2014-07-08 20:20:27 +02:00
parent 788018cb4f
commit 94130bb994

View File

@@ -62,9 +62,9 @@ if [ "$(nice)" == "5" ] ; then
usleep 250000
fi
# Kindlet threads spawn with a nice value of 5, we aim for the same -2 as the KF8 reader
# Kindlet threads spawn with a nice value of 5, go back to a neutral value
logmsg "Be nice!"
renice -n -7 $$
renice -n -5 $$
fi
# we're always starting from our working directory