#!/bin/sh # # $FreeBSD: head/etc/rc.d/devd 159126 2006-06-01 00:41:07Z thompsa $ # # PROVIDE: devd # REQUIRE: netif # BEFORE: NETWORKING mountcritremote # KEYWORD: nojail . /etc/rc.subr name="devd" rcvar=`set_rcvar` command="/sbin/${name}" load_rc_config $name run_rc_command "$1" # If devd is disabled, turn it off in the kernel to avoid memory leaks. if ! checkyesno ${rcvar}; then sysctl hw.bus.devctl_disable=1 fi