Use MACHINE_ARCH instead of MACHINE to check i386 arch.
MFC after: 3 days
This commit is contained in:
parent
a53b2eab57
commit
f25125064b
4
etc/rc
4
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user