diff options
author | mjg <mjg@FreeBSD.org> | 2014-03-26 02:25:40 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2014-03-26 02:25:40 +0000 |
commit | 00964cfdfb63860aab46afa0574666b16517e7ae (patch) | |
tree | 925f3550fde72d2c4f0636d03ca178fb57e40432 /etc | |
parent | 135d99492fb8ef9c418ed8b4c4f76641bee39342 (diff) | |
download | FreeBSD-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')
-rwxr-xr-x | etc/rc.d/devd | 5 |
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 } |