summaryrefslogtreecommitdiffstats
path: root/etc/etc.alpha/rc.alpha
blob: 9488e02ef5378e5ac4d52b23da5ba00d0c2edf8d (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 machdep.unaligned_print=0
       ;;
esac

echo '.'
OpenPOWER on IntegriCloud