3 # $FreeBSD: head/etc/rc.d/devd 238416 2012-07-13 06:46:09Z kevlo $
7 # REQUIRE: netif network_ipv6
9 # KEYWORD: nojail shutdown
15 command="/sbin/${name}"
17 start_precmd
=${name}_prestart
18 stop_precmd
=find_pidfile
22 if get_pidfile_from_conf pid-file
/etc
/devd.conf
; then
23 pidfile
="$_pidfile_from_conf"
25 pidfile
="/var/run/${name}.pid"
33 # If devd is disabled, turn it off in the kernel to avoid memory leaks.
34 if ! checkyesno
${rcvar}; then
35 ${SYSCTL_W} hw.bus.devctl_disable
=1