From 3a2a7101e3b8fb2fe2eeb31eb0cc85be25a06d7c Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Thu, 19 Nov 2009 10:24:43 +0100 Subject: fsodeviced: nice -19 by default in init script Signed-off-by: Sebastian Spaeth --- recipes/freesmartphone/fsodeviced/fsodeviced | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/freesmartphone/fsodeviced/fsodeviced b/recipes/freesmartphone/fsodeviced/fsodeviced index 77fabb6efb..2e701eda29 100644 --- a/recipes/freesmartphone/fsodeviced/fsodeviced +++ b/recipes/freesmartphone/fsodeviced/fsodeviced @@ -8,13 +8,14 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin NAME=fsodeviced +NICENESS=-19 [ -f /etc/default/rcS ] && . /etc/default/rcS case "$1" in start) echo -n "Starting fsodeviced: " - start-stop-daemon --start --pidfile /var/run/${NAME}.pid --make-pidfile --background -x /usr/bin/fsodeviced + start-stop-daemon --start --pidfile /var/run/${NAME}.pid --make-pidfile --background -N ${NICENESS} -x /usr/bin/fsodeviced if [ $? = 0 ]; then echo "(ok)" else -- cgit v1.2.3