diff options
author | dchagin <dchagin@FreeBSD.org> | 2016-03-15 19:34:58 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2016-03-15 19:34:58 +0000 |
commit | e0876678225fefb06262986143b5f67ae37c9d22 (patch) | |
tree | 70f695bf6f813c3f6115ea2130b73c8a63699511 /etc/rc.d | |
parent | e229f36ff4b720e42340e1049c3166d48b79e8a1 (diff) | |
download | FreeBSD-src-e0876678225fefb06262986143b5f67ae37c9d22.zip FreeBSD-src-e0876678225fefb06262986143b5f67ae37c9d22.tar.gz |
MFS r296797:
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
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-x | etc/rc.d/abi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/rc.d/abi b/etc/rc.d/abi index 3765b05..5021843 100755 --- a/etc/rc.d/abi +++ b/etc/rc.d/abi @@ -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 |