From 43f3c5480b66d354e32b483c95efba1e1adc017e Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 3 Mar 2008 15:57:09 +0000 Subject: Don't disable devd in prefix. --- sh.BSD/init.sh.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sh.BSD/init.sh.in b/sh.BSD/init.sh.in index 3bc52507..8d08b0c4 100644 --- a/sh.BSD/init.sh.in +++ b/sh.BSD/init.sh.in @@ -42,6 +42,8 @@ mount_svcdir() [ -r /etc/rc.conf ] && . /etc/rc.conf # 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 -- cgit v1.2.3