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.
pull/712/head
NiLuJe 10 years ago
parent 788018cb4f
commit 94130bb994

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

Loading…
Cancel
Save