summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-01-16 20:05:05 +0000
committerdes <des@FreeBSD.org>2001-01-16 20:05:05 +0000
commit6317f7a2c43b3cd0225e5044dd7e0fd0d1637af5 (patch)
tree9e7967a75716e43d8cb45c9451396f991e6c6ca8 /etc/rc
parent625daed24dfd4bfc823a7efc74e4d73cc5ec25eb (diff)
downloadFreeBSD-src-6317f7a2c43b3cd0225e5044dd7e0fd0d1637af5.zip
FreeBSD-src-6317f7a2c43b3cd0225e5044dd7e0fd0d1637af5.tar.gz
Add a sysvipc_enable variable that causes the SysV IPC modules to be loaded.
Reviewed by: dougb
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc10
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 080f246..06d5615 100644
--- a/etc/rc
+++ b/etc/rc
@@ -646,6 +646,16 @@ fi
echo -n 'Additional ABI support:'
+# Load the SysV IPC API if requested.
+case ${sysvipc_enable} in
+[Yy][Ee][Ss])
+ echo -n ' sysvipc'
+ kldload sysvmsg >/dev/null 2>&1
+ kldload sysvsem >/dev/null 2>&1
+ kldload sysvshm >/dev/null 2>&1
+ ;;
+esac
+
# Start the Linux binary compatibility if requested.
#
case ${linux_enable} in
OpenPOWER on IntegriCloud