summaryrefslogtreecommitdiffstats
path: root/etc/devd.conf
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-13 03:28:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-13 03:28:21 +0000
commitd819989afb70a1b569674ee9d51e5aec004d308e (patch)
tree2cf0fa8b1e373fb136a7d3bf694aedb185e07dbc /etc/devd.conf
parent3b4b3a5cc82ccc6dc2d18d0b73653f67aeaf59a6 (diff)
downloadpfsense-d819989afb70a1b569674ee9d51e5aec004d308e.zip
pfsense-d819989afb70a1b569674ee9d51e5aec004d308e.tar.gz
Move rc.linkup operations to check_reload_status to avoid race conditions.
Diffstat (limited to 'etc/devd.conf')
-rw-r--r--etc/devd.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/devd.conf b/etc/devd.conf
index f0f1f14..47d7759 100644
--- a/etc/devd.conf
+++ b/etc/devd.conf
@@ -13,14 +13,14 @@ options {
# Handle ethernet linkup and linkdown
notify 0 {
- match "type" "LINK_UP";
+ match "type" "LINK_UP";
media-type "ethernet";
- action "/usr/local/bin/php -f /etc/rc.linkup $subsystem start";
+ action "/bin/echo -n '$subsystem ' >>/tmp/rc.linkup";
};
notify 0 {
- match "type" "LINK_DOWN";
+ match "type" "LINK_DOWN";
media-type "ethernet";
- action "/usr/local/bin/php -f /etc/rc.linkup $subsystem stop";
+ action "/bin/echo -n '$subsystem ' >>/tmp/rc.linkup";
};
# When a USB keyboard arrives, attach it as the console keyboard.
OpenPOWER on IntegriCloud