svn commit: r296797 - stable/10/etc/rc.d
Dmitry Chagin
dchagin at FreeBSD.org
Sun Mar 13 08:19:28 UTC 2016
Author: dchagin
Date: Sun Mar 13 08:19:27 2016
New Revision: 296797
URL: https://svnweb.freebsd.org/changeset/base/296797
Log:
MFC r296542:
Load linux64 module for amd64 if Linux abi enabled.
Modified:
stable/10/etc/rc.d/abi
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/etc/rc.d/abi
==============================================================================
--- stable/10/etc/rc.d/abi Sun Mar 13 02:09:01 2016 (r296796)
+++ stable/10/etc/rc.d/abi Sun Mar 13 08:19:27 2016 (r296797)
@@ -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
More information about the svn-src-stable
mailing list