summaryrefslogtreecommitdiffstats
path: root/etc/devd.conf
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-25 22:17:51 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-25 22:17:51 +0000
commitec9914788d65e9afdb45ed34d743b1a21ec73b20 (patch)
tree072016fc8f65eeef4800f7444956dfd5df22d12a /etc/devd.conf
parent7769e6cfafeb66fc0568ff4f6adf483f0783d72a (diff)
downloadpfsense-ec9914788d65e9afdb45ed34d743b1a21ec73b20.zip
pfsense-ec9914788d65e9afdb45ed34d743b1a21ec73b20.tar.gz
Do not call dhclient on detach events. Instead delete interface and flush arp table
Diffstat (limited to 'etc/devd.conf')
-rw-r--r--etc/devd.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/devd.conf b/etc/devd.conf
index 49bcbb6..7246357 100644
--- a/etc/devd.conf
+++ b/etc/devd.conf
@@ -39,7 +39,7 @@ attach 0 {
detach 0 {
media-type "ethernet";
- action "/sbin/dhclient $device-name";
+ action "/sbin/ifconfig $device-name delete && /usr/sbin/arp -da";
};
#
@@ -62,7 +62,7 @@ notify 0 {
#
detach 0 {
media-type "802.11";
- action "/sbin/dhclient $device-name";
+ action "/sbin/ifconfig $device-name delete && /usr/sbin/arp -da";
};
attach 0 {
media-type "802.11";
@@ -157,7 +157,7 @@ attach 10 {
};
detach 10 {
device-name "deqna[0-9]+";
- action "/sbin/dhclient $device-name";
+ action "/sbin/ifconfig $device-name delete && /usr/sbin/arp -da";
};
# Examples of notify hooks. A notify is a generic way for a kernel
OpenPOWER on IntegriCloud