diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-02-14 05:40:02 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-02-14 05:40:02 +0000 |
commit | 36f662863cba4b938940c6e116172de320e6bb61 (patch) | |
tree | 69dae44a0bf517f387be16eec02b2784e351d698 /etc/devd.conf | |
parent | d6862c98a390e24d7f3680b3d118bf67f725fa9e (diff) | |
download | pfsense-36f662863cba4b938940c6e116172de320e6bb61.zip pfsense-36f662863cba4b938940c6e116172de320e6bb61.tar.gz |
Add missing dhclient entry?
Diffstat (limited to 'etc/devd.conf')
-rw-r--r-- | etc/devd.conf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/devd.conf b/etc/devd.conf index 847f6f5..0167f8c 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -17,6 +17,7 @@ notify 0 { media-type "ethernet"; action "/bin/echo -n '$subsystem start ' >>/tmp/rc.linkup"; }; + notify 0 { match "type" "LINK_DOWN"; media-type "ethernet"; @@ -28,11 +29,25 @@ attach 100 { device-name "ukbd0"; action "kbdcontrol -k /dev/ukbd0 < /dev/console"; }; + detach 100 { device-name "ukbd0"; action "kbdcontrol -k /dev/kbd0 < /dev/console"; }; +# +# Try to start dhclient on Ethernet like interfaces when the link comes +# up. Only devices that are configured to support DHCP will actually +# run it. No link down rule exists because dhclient automaticly exits +# when the link goes down. +# +notify 0 { + match "system" "IFNET"; + match "type" "LINK_UP"; + media-type "ethernet"; + action "/bin/echo -n '$subsystem start ' >>/tmp/rc.linkup"; +}; + # Notify all users before beginning emergency shutdown when we get # a _CRT or _HOT thermal event and we're going to power down the system # very soon. |