On 7/25/06, Bruce Dubbs <[EMAIL PROTECTED]> wrote:
I'm not sure if this is best addressed in LFS or BLFS. -- Bruce
It's a core LFS bootscripts issue, so LFS is probably the best location
-------- Original Message -------- Subject: Re: LFS 6.2-pre2 Released Date: Mon, 24 Jul 2006 22:42:24 +0200 From: Thomas Seeling <[EMAIL PROTECTED]> If the shutdown procedure kills the processes in the wrong sequence (e.g. the nmbd child first) then the parent spawns a new child and the killproc function thinks that the shutdown failed. I guess this is only an aesthetical problem, but I solved it by sort'ing the ps output before giving it to the kill function.
You should be able to write the pids used by the app to a file, and pass that as an argument to killproc - that way you can decide which order you want them killed in your local app bootscript, and not have to change killproc at all. Without having the bootscripts handy, i think it the syntax is killproc -p pidfile application -- -- - Steve Crosby -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page