Subject: Re: "fixing" the network shutdown problems with rc.d
To: None <tech-userlevel@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-userlevel
Date: 04/12/2000 17:50:21
[ On Tuesday, April 11, 2000 at 10:09:54 (+0100), David Brownlee wrote: ]
> Subject: Re: "fixing" the network shutdown problems with rc.d 
>
> 	It works well for NetBSD scripts, but what about people dropping
> 	in third party rc.d scripts?
> 
> 	One not entirely clean option might be to set 'RC_SHUTDOWN' in
> 	the environment and run with a "stop" arg, and the scripts can
> 	key off that.

Yes, that's why I suggested the environment variable in the first place.

> 	No perfect solution :(

No, it's not as clean or elegant, but it will suffice.

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>