[oe-commits] Sebastian Spaeth : fsodeviced: nice -19 by default in init script

git version control git at git.openembedded.org
Thu Nov 19 09:24:53 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 3a2a7101e3b8fb2fe2eeb31eb0cc85be25a06d7c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3a2a7101e3b8fb2fe2eeb31eb0cc85be25a06d7c

Author: Sebastian Spaeth <Sebastian at SSpaeth.de>
Date:   Thu Nov 19 10:24:43 2009 +0100

fsodeviced: nice -19 by default in init script

Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>

---

 recipes/freesmartphone/fsodeviced/fsodeviced |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/freesmartphone/fsodeviced/fsodeviced b/recipes/freesmartphone/fsodeviced/fsodeviced
index 77fabb6..2e701ed 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





More information about the Openembedded-commits mailing list