devd revision 108191
1#!/bin/sh 2# 3# $FreeBSD: head/etc/rc.d/devd 108191 2002-12-22 22:18:41Z dillon $ 4# 5 6# REQUIRE: rcconf 7# PROVIDE: devd 8# BEFORE: disks 9# KEYWORD: FreeBSD 10 11. /etc/rc.subr 12 13name="devd" 14rcvar=`set_rcvar` 15command="/sbin/devd" 16 17load_rc_config $name 18run_rc_command "$1" 19 20# If devd is disabled, turn it off in the kernel to avoid memory leaks. 21if ! checkyesno ${rcvar}; then 22 sysctl hw.bus.devctl_disable=1 23fi 24