13 start_cmd="${name}_start"
29 load_kld -e 'linux(aout|elf)' linux
30 case `sysctl -n hw.machine_arch` in
32 load_kld -e 'linux64elf' linux64
35 if [ -x /compat/linux/sbin/ldconfigDisabled ]; then
36 _tmpdir=`mktemp -d -t linux-ldconfig`
37 /compat/linux/sbin/ldconfig -C ${_tmpdir}/ld.so.cache
38 if ! cmp -s ${_tmpdir}/ld.so.cache /compat/linux/etc/ld.so.cache; then
39 cat ${_tmpdir}/ld.so.cache > /compat/linux/etc/ld.so.cache
48 load_kld -m svr4elf svr4
56 if checkyesno sysvipc_enable || checkyesno linux_enable || checkyesno svr4_enable; then
57 echo -n 'Additional ABI support:'
61 checkyesno sysvipc_enable && sysv_start
62 checkyesno linux_enable && linux_start
63 checkyesno svr4_enable && svr4_start
65 [ -n "${_echostop}" ] && echo '.'