diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 79d52ce215a0..b75774b8a829 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). diff --git a/etc/rc b/etc/rc index 080f24618f46..06d561517686 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