Use MACHINE_ARCH instead of MACHINE to check i386 arch.
MFC after: 3 days
This commit is contained in:
parent
a53b2eab57
commit
f25125064b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90178
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…
Reference in New Issue
Block a user