summaryrefslogtreecommitdiffstats
path: root/etc/etc.alpha/rc.alpha
blob: cc2b3a340d63e531359ee2583dc915f5b3f806bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/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 '.'
OpenPOWER on IntegriCloud