fsodeviced: nice -19 by default in init script
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Thu, 19 Nov 2009 09:24:43 +0000 (10:24 +0100)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Thu, 19 Nov 2009 09:24:43 +0000 (10:24 +0100)
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
recipes/freesmartphone/fsodeviced/fsodeviced

index 77fabb6..2e701ed 100644 (file)
@@ -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