aboutsummaryrefslogtreecommitdiff
path: root/sh.BSD/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh.BSD/init.sh')
-rwxr-xr-xsh.BSD/init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh.BSD/init.sh b/sh.BSD/init.sh
index 63f26927..3da44a33 100755
--- a/sh.BSD/init.sh
+++ b/sh.BSD/init.sh
@@ -40,7 +40,7 @@ mount_svcdir() {
. "${RC_LIBDIR}"/sh/functions.sh
# Disable devd until we need it
-sysctl hw.bus.devctl_disable=1 >/dev/null
+[ "${RC_UNAME}" = "FreeBSD" ] && sysctl hw.bus.devctl_disable=1 >/dev/null
. "${RC_LIBDIR}"/sh/init-common-post.sh