freebsd-src/etc/etc.i386/rc.i386
John Baldwin dbbd9a3121 Move the syscons configuration to a machine independent rc.syscons. The
syscons sh code was identical on both platforms except for whitespace
differences.
2001-01-09 22:28:17 +00:00

55 lines
758 B
Bash

#!/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 '.'