From b357774f50743f92e6f3a63766ab5243e3a56265 Mon Sep 17 00:00:00 2001 From: mjg Date: Mon, 31 Mar 2014 02:53:15 +0000 Subject: MFC r263758: Update userspace users of hw.bus.devctl_disable. This switches the code to use hw.bus.devctl_queue instead. --- etc/rc.d/devd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'etc/rc.d') 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 } -- cgit v1.1