13 desc="Enable Linux ABI"
15 start_cmd="${name}_start"
22 load_kld -e 'linux(aout|elf)' linux
23 case `sysctl -n hw.machine_arch` in
25 load_kld -e 'linux64elf' linux64
28 if [ -x /compat/linux/sbin/ldconfigDisabled ]; then
29 _tmpdir=`mktemp -d -t linux-ldconfig`
30 /compat/linux/sbin/ldconfig -C ${_tmpdir}/ld.so.cache
31 if ! cmp -s ${_tmpdir}/ld.so.cache /compat/linux/etc/ld.so.cache; then
32 cat ${_tmpdir}/ld.so.cache > /compat/linux/etc/ld.so.cache