1998-05-20 03:01:42 +00:00
|
|
|
#!/bin/sh -
|
|
|
|
#
|
1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
1998-05-20 03:01:42 +00:00
|
|
|
# Do alpha specific processing
|
|
|
|
#
|
|
|
|
|
|
|
|
echo -n 'Initial rc.alpha initialization:'
|
1999-12-15 14:27:59 +00:00
|
|
|
|
|
|
|
# Start the Alpha OSF/1 binary compatibility if requested.
|
|
|
|
#
|
|
|
|
case ${osf1_enable} in
|
|
|
|
[Yy][Ee][Ss])
|
2000-11-30 08:20:42 +00:00
|
|
|
echo -n ' OSF/1'
|
|
|
|
if ! kldstat -v | grep osf1_ecoff > /dev/null; then
|
|
|
|
kldload osf1 > /dev/null 2>&1
|
|
|
|
fi
|
1999-12-15 14:27:59 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2000-10-04 18:58:46 +00:00
|
|
|
# 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
|
2001-01-09 22:28:17 +00:00
|
|
|
|
|
|
|
echo '.'
|