freebsd-src/etc/etc.alpha/rc.alpha

29 lines
497 B
Plaintext
Raw Normal View History

#!/bin/sh -
#
1999-08-28 00:37:10 +01:00
# $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 '.'