Ctrl-c abort of dhclient during rc.d start aborts all network
configuration
Charles Swiger
cswiger at mac.com
Wed Aug 31 20:26:24 GMT 2005
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
More information about the freebsd-current
mailing list