Date: Wed, 31 Aug 2005 16:26:17 -0400 From: Charles Swiger <cswiger@mac.com> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: Robert Watson <rwatson@freebsd.org>, current@freebsd.org Subject: Re: Ctrl-c abort of dhclient during rc.d start aborts all network configuration Message-ID: <932461F5-1E5B-4E6C-9109-97A54C128EE5@mac.com> In-Reply-To: <20050831194612.GG32477@odin.ac.hmc.edu> References: <20050831120730.B39418@fledge.watson.org> <20050831194612.GG32477@odin.ac.hmc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 31, 2005, at 3:46 PM, Brooks Davis wrote:
>> (2) If a dhclient is ctrl-c'd, it would be nice if the rest of the
>> network
>> configuration continued.
>
> I don't see any code in the startup scripts that would cause them to
> exit on failure so the issue is probalby that the signal is being
> delivered to the /etc/rc.d/netif instance. I don't really know
> what the
> solution to that is.
Add:
trap "" 2 3
...to the beginning of /etc/rc.d/netif, and a "trap 2 3" at the end,
so the shell ignores SIGQUIT (aka Control-C)?
--
-Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?932461F5-1E5B-4E6C-9109-97A54C128EE5>
