Skip to content

Commit

Permalink
MFS r296797:
Browse files Browse the repository at this point in the history
MFC r296542: Load linux64 module for amd64 if Linux abi enabled.

Reviewed by:	emaste@
Approved by:	re (marius)
Differential Revision:	https://reviews.freebsd.org/D5567
  • Loading branch information
lemul committed Mar 15, 2016
1 parent e229f36 commit e087667
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions etc/rc.d/abi
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ linux_start()

echo -n ' linux'
load_kld -e 'linux(aout|elf)' linux
case `sysctl -n hw.machine_arch` in
amd64)
load_kld -e 'linux64elf' linux64
;;
esac
if [ -x /compat/linux/sbin/ldconfigDisabled ]; then
_tmpdir=`mktemp -d -t linux-ldconfig`
/compat/linux/sbin/ldconfig -C ${_tmpdir}/ld.so.cache
Expand Down

0 comments on commit e087667

Please sign in to comment.