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:
parent
64b78d815a
commit
fd947b09e2
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user