diff options
author | des <des@FreeBSD.org> | 2001-01-16 20:05:05 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-01-16 20:05:05 +0000 |
commit | 6317f7a2c43b3cd0225e5044dd7e0fd0d1637af5 (patch) | |
tree | 9e7967a75716e43d8cb45c9451396f991e6c6ca8 /etc | |
parent | 625daed24dfd4bfc823a7efc74e4d73cc5ec25eb (diff) | |
download | FreeBSD-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')
-rw-r--r-- | etc/defaults/rc.conf | 1 | ||||
-rw-r--r-- | etc/rc | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 79d52ce..b75774b 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -308,6 +308,7 @@ check_quotas="YES" # Check quotas on startup (or NO). accounting_enable="NO" # Turn on process accounting (or NO). ibcs2_enable="NO" # Ibcs2 (SCO) emulation loaded at startup (or NO). ibcs2_loaders="NO" # List of additional Ibcs2 loaders (or NO). +sysvipc_enable="NO" # Load System V IPC primitives at startup (or NO). linux_enable="NO" # Linux binary compatibility loaded at startup (or NO). svr4_enable="NO" # SysVR4 emulation loaded at startup (or NO). osf1_enable="NO" # Alpha OSF/1 emulation loaded at startup (or NO). @@ -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 |