summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>1999-12-15 14:27:59 +0000
committergallatin <gallatin@FreeBSD.org>1999-12-15 14:27:59 +0000
commit22dd32c01d7eab01f6ce38c58d31fcb56921fa68 (patch)
tree7fc16c81460aaf5cd3307337b3812a3863ce651f /etc
parentcd2a57bc83c982c1a0cc7d98d863800b92ba9f80 (diff)
downloadFreeBSD-src-22dd32c01d7eab01f6ce38c58d31fcb56921fa68.zip
FreeBSD-src-22dd32c01d7eab01f6ce38c58d31fcb56921fa68.tar.gz
Add an enable_osf1 knob to the alpha startup code
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults/rc.conf1
-rw-r--r--etc/etc.alpha/rc.alpha9
2 files changed, 10 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 3336cc2..65a6bc3 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -220,6 +220,7 @@ accounting_enable="NO" # Turn on process accounting (or NO).
ibcs2_enable="NO" # Ibcs2 (SCO) emulation loaded 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).
rand_irqs="NO" # Stir the entropy pool (like "5 11" or NO).
clear_tmp_enable="NO" # Clear /tmp at startup.
ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib"
diff --git a/etc/etc.alpha/rc.alpha b/etc/etc.alpha/rc.alpha
index 753e722..882197a 100644
--- a/etc/etc.alpha/rc.alpha
+++ b/etc/etc.alpha/rc.alpha
@@ -5,6 +5,15 @@
#
echo -n 'Initial rc.alpha initialization:'
+
+# Start the Alpha OSF/1 binary compatibility if requested.
+#
+case ${osf1_enable} in
+[Yy][Ee][Ss])
+ echo -n ' OSF/1'; osf1 > /dev/null 2>&1
+ ;;
+esac
+
echo '.'
##########################################################################
OpenPOWER on IntegriCloud