-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Monday 2007-03-12 at 08:17 -0700, Randall R Schulz wrote:
> Well, then target the master script with the "wait for completion"
> script and use that in a "wait"-mode run-level 0 entry in inittab. In a
> cursory examination, I don't see any mention of a timeout in the init
> or inittab manual pages. Of course, I could have missed it or it may
> exist and not be mentioned there.
Yes, it is there. Look:
if test "$RUN_PARALLEL" = "yes" ; then
#
# Stop/Start services in parallel with make behaviour of startpar
#
startopt="-p4 -t 30 -T 3 $(splashmake)"
eval $(startpar $startopt -M stop -P $PREVLEVEL -R $RUNLEVEL)
failed="${failed:+$failed }$failed_service"
skipped="${skipped:+$skipped }$skipped_service"
And "startpar" is a command. Man says:
NAME
startpar - start runlevel scripts in parallel
SYNOPSIS
startpar [-p par] [-t timeout] [-T global_timeout] [-a arg] prg1 prg2 ...
startpar [-p par] [-t timeout] [-T global_timeout] -M [ boot|start|stop]
As the options are in «startopt="-p4 -t 30 -T 3 $(splashmake)"», it has a
timeout of 30 seconds, and global timeout of 3... what? Minutes, seconds?
You'd better look at the man page, it is not so simple.
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFF9XGvtTMYHG2NR9URAncHAJ41ZTtLoM6AG62d/WS9zCm5PHr37QCff10y
O6YIcvc3hUMAiCKNvgVsimQ=
=UtQ8
-----END PGP SIGNATURE-----