diff options
author | mjg <mjg@FreeBSD.org> | 2014-03-31 02:53:15 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2014-03-31 02:53:15 +0000 |
commit | b357774f50743f92e6f3a63766ab5243e3a56265 (patch) | |
tree | ad82516cd72643b2a6a18e440e03f61e6ea7d0e6 /etc/rc.d/devd | |
parent | e7b96c1d34456762279db22270b51e022347b212 (diff) | |
download | FreeBSD-src-b357774f50743f92e6f3a63766ab5243e3a56265.zip FreeBSD-src-b357774f50743f92e6f3a63766ab5243e3a56265.tar.gz |
MFC r263758:
Update userspace users of hw.bus.devctl_disable.
This switches the code to use hw.bus.devctl_queue instead.
Diffstat (limited to 'etc/rc.d/devd')
-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 } |