summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2002-02-04 12:50:52 +0000
committernyan <nyan@FreeBSD.org>2002-02-04 12:50:52 +0000
commit342b39a018785002b8c9ea684188a47550908c2d (patch)
tree255a371e9da8c1cae9dffd35be63be0c4c36e90a
parentd7807c5eff5a4ad7190baa24ec1c4d0e51b7b90c (diff)
downloadFreeBSD-src-342b39a018785002b8c9ea684188a47550908c2d.zip
FreeBSD-src-342b39a018785002b8c9ea684188a47550908c2d.tar.gz
Use MACHINE_ARCH instead of MACHINE to check i386 arch.
MFC after: 3 days
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 19ca849..7ed6443 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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
OpenPOWER on IntegriCloud