summaryrefslogtreecommitdiffstats
path: root/etc/etc.i386/rc.i386
blob: d3c12ae81365e410d997c1afe10a54205c38bdad (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/sh -
#
# $FreeBSD$
#	Do i386 specific processing
#

echo -n 'Initial rc.i386 initialization:'

case ${apm_enable} in
[Yy][Ee][Ss])
	echo -n ' apm'
	apm -e enable > /dev/null 2>&1
	APM_DONE=yes
	;;
esac

case ${apmd_enable} in
[Yy][Ee][Ss])
	case ${APM_DONE} in
	'')
		echo -n ' apm'
		apm -e enable > /dev/null 2>&1
		;;
	esac

	echo -n ' apmd';	apmd ${apmd_flags}
	;;
esac

# Start the SCO binary emulation if requested.
#
case ${ibcs2_enable} in
[Yy][Ee][Ss])
	echo -n ' ibcs2'
	kldload ibcs2 > /dev/null 2>&1
	case ${ibcs2_loaders} in
	[Nn][Oo])
		;;
	*)
		for i in ${ibcs2_loaders}; do
			kldload ibcs2_$i > /dev/null 2>&1
		done
		;;
	esac
	;;
esac

case ${xtend_enable} in
[Yy][Ee][Ss])
 	echo -n ' xtend';	/usr/libexec/xtend
	;;
esac

echo '.'
OpenPOWER on IntegriCloud