From 342b39a018785002b8c9ea684188a47550908c2d Mon Sep 17 00:00:00 2001 From: nyan Date: Mon, 4 Feb 2002 12:50:52 +0000 Subject: Use MACHINE_ARCH instead of MACHINE to check i386 arch. MFC after: 3 days --- etc/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/rc') 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 -- cgit v1.1