This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, master has been updated via b64d57aac841cb0a569e9651cba629965d1e6783 (commit) from 3bd3aa727fef40ff66935d8971c5a05e13e0baa0 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit b64d57aac841cb0a569e9651cba629965d1e6783 Author: Michael Tremer michael.tremer@ipfire.org Date: Wed Jun 30 20:37:43 2010 +0200
Default all processes to run with nice=0.
This should work much better for the CFS
-----------------------------------------------------------------------
Summary of changes: src/initscripts/init.d/functions | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-)
Difference in files: diff --git a/src/initscripts/init.d/functions b/src/initscripts/init.d/functions index ea840d1..00cd6fa 100644 --- a/src/initscripts/init.d/functions +++ b/src/initscripts/init.d/functions @@ -438,7 +438,7 @@ loadproc() { local pidfile="" local forcestart="" - local nicelevel="10" + local nicelevel=""
# This will ensure compatibility with previous LFS Bootscripts if [ -n "${PIDFILE}" ]; then @@ -500,7 +500,13 @@ loadproc() esac fi
- nice -n "${nicelevel}" "${@}" + local cmd="${@}" + + if [ -n "${nicelevel}" ]; then + cmd="nice -n "${nicelevel}" ${cmd}" + fi + + ${cmd} evaluate_retval # This is "Probably" not LSB compliant, but required to be compatible with older bootscripts return 0 }
hooks/post-receive -- IPFire 2.x development tree