Subject: Re: timeout for rc-scripts?
To: None <tech-userlevel@NetBSD.org>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: tech-userlevel
Date: 06/03/2004 12:44:30
--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 03, 2004 at 12:08:37PM +0200, Hubert Feyrer wrote:
> On Thu, 3 Jun 2004, Ignatios Souvatzis wrote:
> > Including the scripts that depend on it?
>=20
> Probably not - I'd be happy with a simple solution for a start.

Hm.... change the ypbind script to do something like:

sleep 30 &
foo=3D$!
(ypbind ...; kill $foo)&
wait $foo

	-is

--UugvWAfsgieZRqgk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBQL8BDDCn4om+4LhpAQH9/QgAxtItxpAbjGna1oYDzRk79pm4dZJV5H6D
PSPRuQ53aT15V7/c6+eA0PNcerNXYtkxzT52XTTLLkp+7weijcXV8h+wPHstO5Oj
mijQfMxC5GAlXDZMhF+tFNBjVFdEaMuSP66A7gAjWA7yX+O0cP8G5YOXJwt3Tkge
YweGkg2AzIZo7n+NfkecpF2koSijVFQqV+RAgA2uBZJYC0+fYAYsuXkCZtLVX3U3
uuB0CxsZul30GQIe1Thp5tG0EzUSPwWEhjtMr0uJ1MrNHwyIQcS+ws8d5PGC6EKO
fiqH/kYCXExOg7KOMIF140iM3dR/hNdzq1s0ngPRh/dTlY2xUqcciQ==
=DeTN
-----END PGP SIGNATURE-----

--UugvWAfsgieZRqgk--