aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2009-11-19 10:24:43 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2009-11-19 10:24:43 +0100
commit3a2a7101e3b8fb2fe2eeb31eb0cc85be25a06d7c (patch)
treefa8eb2193a4852cefbbeb8796be880dbdcfeaaf3 /recipes
parentb31701d667ffa4872aaedda4502f14112a3f3da1 (diff)
downloadopenembedded-3a2a7101e3b8fb2fe2eeb31eb0cc85be25a06d7c.tar.gz
fsodeviced: nice -19 by default in init script
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/freesmartphone/fsodeviced/fsodeviced3
1 files changed, 2 insertions, 1 deletions
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