Menu

[r4114]: / trunk / etc / rc.d / devd  Maximize  Restore  History

Download this file

29 lines (23 with data), 543 Bytes

#!/bin/sh
#
# $FreeBSD: src/etc/rc.d/devd,v 1.10 2006/09/21 14:29:32 brooks Exp $
#
# Modified by Volker Theile (votdev@gmx.de)
# Changes:
# - Remove req: network_ipv6
# - Remove bef: mountcritremote
#

# PROVIDE: devd
# REQUIRE: netif network_ipv6
# BEFORE: NETWORKING
# 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
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.