diff options
author | Renato Botelho <renato@netgate.com> | 2016-05-30 16:00:59 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-05-30 16:00:59 -0300 |
commit | 505e3e0ecd6d39125656def3eea238415e21b9cb (patch) | |
tree | ecbe0edac505bbcaa0ab4d1dbc426a9e5436ccba /src/etc/devd.conf | |
parent | 87dcd5545c0eed1822a6a818f89ba9e619d64342 (diff) | |
download | pfsense-505e3e0ecd6d39125656def3eea238415e21b9cb.zip pfsense-505e3e0ecd6d39125656def3eea238415e21b9cb.tar.gz |
Rename /etc/devd.conf -> /etc/pfSense-devd.conf and change start_devd()
Diffstat (limited to 'src/etc/devd.conf')
-rw-r--r-- | src/etc/devd.conf | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/src/etc/devd.conf b/src/etc/devd.conf deleted file mode 100644 index ea67ba6..0000000 --- a/src/etc/devd.conf +++ /dev/null @@ -1,80 +0,0 @@ -# $Id$ -# $FreeBSD: src/etc/devd.conf,v 1.26.2.1 2005/09/03 22:49:22 sam Exp $ - -options { - directory "/etc/devd"; - directory "/usr/local/etc/devd"; - pid-file "/var/run/devd.pid"; - set scsi-controller-regex - "(aac|adv|adw|aha|ahb|ahc|ahd|aic|amd|amr|asr|bt|ciss|ct|dpt|\ - esp|ida|iir|ips|isp|mlx|mly|mpt|ncr|ncv|nsp|stg|sym|trm|wds)\ - [0-9]+"; -}; - -# CARP notify hooks. This will call carpup/carpdown with the -# interface (carp0, carp1) as the first parameter. -notify 100 { - match "system" "CARP"; - match "type" "MASTER"; - action "/usr/local/sbin/pfSctl -c 'interface carpmaster $subsystem'"; -}; - -notify 100 { - match "system" "CARP"; - match "type" "BACKUP"; - action "/usr/local/sbin/pfSctl -c 'interface carpbackup $subsystem'"; -}; - -notify 100 { - match "system" "CARP"; - match "type" "INIT"; - action "/usr/local/sbin/pfSctl -c 'interface carpbackup $subsystem'"; -}; - -# When a USB keyboard arrives, attach it as the console keyboard. -attach 100 { - device-name "ukbd0"; - action "kbdcontrol -k /dev/ukbd0 < /dev/console 2>/dev/null"; -}; - -detach 100 { - device-name "ukbd0"; - action "kbdcontrol -k /dev/kbd0 < /dev/console 2>/dev/null"; -}; - -# -# Signal upper levels that an event happened on ethernet class interface -# -notify 0 { - match "system" "IFNET"; - match "type" "LINK_UP"; - media-type "ethernet"; - action "/usr/local/sbin/pfSctl -c 'interface linkup start $subsystem'"; -}; - -notify 0 { - match "system" "IFNET"; - match "type" "LINK_DOWN"; - media-type "ethernet"; - action "/usr/local/sbin/pfSctl -c 'interface linkup stop $subsystem'"; -}; - -# -# Signal upper levels that an event happened on 802.11 class interface -# -notify 0 { - match "system" "IFNET"; - match "type" "LINK_UP"; - match "subsystem" "[a-z]+[0-9]+_wlan[0-9]+"; - action "/usr/local/sbin/pfSctl -c 'interface linkup start $subsystem'"; -}; - -# 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. -notify 10 { - match "system" "ACPI"; - match "subsystem" "Thermal"; - match "notify" "0xcc"; - action "logger -p kern.emerg 'WARNING: system temperature too high, shutting down soon!'"; -}; |