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
49 load_kld -m svr4elf svr4
57 if checkyesno sysvipc_enable || checkyesno linux_enable || checkyesno svr4_enable; then
58 echo -n 'Additional ABI support:'
62 checkyesno sysvipc_enable && sysv_start
63 checkyesno linux_enable && linux_start
64 checkyesno svr4_enable && svr4_start
66 [ -n "${_echostop}" ] && echo '.'