Add a sysvipc_enable variable that causes the SysV IPC modules to be loaded.

Reviewed by:	dougb
This commit is contained in:
des 2001-01-16 20:05:05 +00:00
parent 5987dd687b
commit 686311fe8a
2 changed files with 11 additions and 0 deletions

View File

@ -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).

10
etc/rc
View File

@ -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