Don't disable devd in prefix.
This commit is contained in:
parent
08e78bd15f
commit
43f3c5480b
@ -42,6 +42,8 @@ mount_svcdir()
|
|||||||
[ -r /etc/rc.conf ] && . /etc/rc.conf
|
[ -r /etc/rc.conf ] && . /etc/rc.conf
|
||||||
|
|
||||||
# Disable devd until we need it
|
# Disable devd until we need it
|
||||||
[ "${RC_UNAME}" = "FreeBSD" ] && sysctl hw.bus.devctl_disable=1 >/dev/null
|
if [ -z "${RC_SYS}" -a "${RC_UNAME}" = "FreeBSD" ]; then
|
||||||
|
sysctl hw.bus.devctl_disable=1 >/dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
. "${RC_LIBDIR}"/sh/init-common-post.sh
|
. "${RC_LIBDIR}"/sh/init-common-post.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user