aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2002-02-04 12:50:52 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2002-02-04 12:50:52 +0000
commitf25125064b0ae4acac5ebaf2e5da60090ba493a0 (patch)
tree255a371e9da8c1cae9dffd35be63be0c4c36e90a
parenta53b2eab5754511ce1bf0876d56db66f12fe7dcf (diff)
Notes
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 19ca849ab185..7ed64438c54e 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