summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authormjg <mjg@FreeBSD.org>2014-03-26 02:25:40 +0000
committermjg <mjg@FreeBSD.org>2014-03-26 02:25:40 +0000
commit00964cfdfb63860aab46afa0574666b16517e7ae (patch)
tree925f3550fde72d2c4f0636d03ca178fb57e40432 /etc/rc.d
parent135d99492fb8ef9c418ed8b4c4f76641bee39342 (diff)
downloadFreeBSD-src-00964cfdfb63860aab46afa0574666b16517e7ae.zip
FreeBSD-src-00964cfdfb63860aab46afa0574666b16517e7ae.tar.gz
Update userspace users of hw.bus.devctl_disable.
This fixes breakage resulting from r263754. Reported by: AN <andy@neu.net> Reviewed by: imp Pointy hat to: me
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/devd5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/rc.d/devd b/etc/rc.d/devd
index 5976979..c7288e4 100755
--- a/etc/rc.d/devd
+++ b/etc/rc.d/devd
@@ -30,9 +30,10 @@ devd_prestart()
{
find_pidfile
- # If devd is disabled, turn it off in the kernel to avoid memory leaks.
+ # If devd is disabled, turn it off in the kernel to avoid unnecessary
+ # memory usage.
if ! checkyesno ${rcvar}; then
- $SYSCTL hw.bus.devctl_disable=1
+ $SYSCTL hw.bus.devctl_queue=0
fi
}
OpenPOWER on IntegriCloud