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 | |
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')
-rw-r--r-- | src/etc/inc/util.inc | 4 | ||||
-rw-r--r-- | src/etc/pfSense-devd.conf (renamed from src/etc/devd.conf) | 0 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/etc/inc/util.inc b/src/etc/inc/util.inc index 5de5bd1..171483e 100644 --- a/src/etc/inc/util.inc +++ b/src/etc/inc/util.inc @@ -2103,8 +2103,10 @@ function unmute_kernel_msgs() { } function start_devd() { + global $g; + /* Use the undocumented -q options of devd to quiet its log spamming */ - $_gb = exec("/sbin/devd -q"); + $_gb = exec("/sbin/devd -q -f /etc/{$g['product_name']}-devd.conf"); sleep(1); unset($_gb); } diff --git a/src/etc/devd.conf b/src/etc/pfSense-devd.conf index ea67ba6..ea67ba6 100644 --- a/src/etc/devd.conf +++ b/src/etc/pfSense-devd.conf |