[Marcelo E. Magallon] > Isn't just: > > wait > > enough?
In this case, yes. In the general case, it is unknown if a background process was forked off earlier in the script, so you want to control which processes to wait for. I suspect 'wait $pid || true' or similar is needed though, as the exit code from the init.d scripts might be non-zero. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]