13 desc="Enable foreign ABIs"
14 start_cmd="${name}_start"
30 load_kld -e 'linux(aout|elf)' linux
31 case `sysctl -n hw.machine_arch` in
33 load_kld -e 'linux64elf' linux64
36 if [ -x /compat/linux/sbin/ldconfigDisabled ]; then
37 _tmpdir=`mktemp -d -t linux-ldconfig`
38 /compat/linux/sbin/ldconfig -C ${_tmpdir}/ld.so.cache
39 if ! cmp -s ${_tmpdir}/ld.so.cache /compat/linux/etc/ld.so.cache; then
40 cat ${_tmpdir}/ld.so.cache > /compat/linux/etc/ld.so.cache
51 if checkyesno sysvipc_enable || checkyesno linux_enable; then
52 echo -n 'Additional ABI support:'
56 checkyesno sysvipc_enable && sysv_start
57 checkyesno linux_enable && linux_start
59 [ -n "${_echostop}" ] && echo '.'