Kill the correct dhclient on detach of the ethernet device.

Submitted by:	Josef Karthauser <joe@freebsd.org>
Submitted by:	Chris Dillon <cdillon@wolves.k12.mo.us>
This commit is contained in:
Nick Hibma 2000-10-20 00:42:05 +00:00
parent 64b78d815a
commit fd947b09e2

View File

@ -28,8 +28,8 @@ device "Entrega Serial with UART"
#
device "USB ethernet"
devname "[ack]ue[0-9]+"
attach "dhclient ${DEVNAME}"
detach "killall dhclient"
attach "/etc/pccard_ether ${DEVNAME} start"
detach "/etc/pccard_ether ${DEVNAME} stop"
# The entry below starts moused when a mouse is plugged in. Moused
# stops automatically (actually it bombs :) when the device disappears.