1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/etc/etc.alpha/rc.alpha
John Baldwin dbbd9a3121 Move the syscons configuration to a machine independent rc.syscons. The
syscons sh code was identical on both platforms except for whitespace
differences.
2001-01-09 22:28:17 +00:00

29 lines
497 B
Bash

#!/bin/sh -
#
# $FreeBSD$
# Do alpha specific processing
#
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'
if ! kldstat -v | grep osf1_ecoff > /dev/null; then
kldload osf1 > /dev/null 2>&1
fi
;;
esac
# knob for wether or not we should print out unaligned access warnings
#
case ${unaligned_print} in
[Nn][Oo])
sysctl -w machdep.unaligned_print=0
;;
esac
echo '.'