Use MACHINE_ARCH instead of MACHINE to check i386 arch.

MFC after:	3 days
This commit is contained in:
Yoshihiro Takahashi 2002-02-04 12:50:52 +00:00
parent a53b2eab57
commit f25125064b

4
etc/rc
View File

@ -631,7 +631,7 @@ if [ -x /sbin/ldconfig ]; then
esac
# Legacy aout support for i386 only
case `sysctl -n hw.machine` in
case `sysctl -n hw.machine_arch` in
i386)
# Default the a.out ldconfig path.
: ${ldconfig_paths_aout=${ldconfig_paths}}
@ -778,7 +778,7 @@ fi
# Configure implementation specific stuff
#
arch=`uname -m`
arch=`uname -p`
if [ -r /etc/rc.${arch} ]; then
. /etc/rc.${arch}
fi