Menu

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

Download this file

29 lines (23 with data), 532 Bytes

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

# PROVIDE: devd
# REQUIRE: netif
# 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.