Deleted Added
full compact
abi (154236) abi (154787)
1#!/bin/sh
2#
1#!/bin/sh
2#
3# $FreeBSD: head/etc/rc.d/abi 154236 2006-01-11 21:30:41Z brooks $
3# $FreeBSD: head/etc/rc.d/abi 154787 2006-01-24 18:58:48Z netchild $
4#
5
6# PROVIDE: abi
7# REQUIRE: LOGIN
8# BEFORE: securelevel
9# KEYWORD: nojail
10
11. /etc/rc.subr

--- 11 unchanged lines hidden (view full) ---

23}
24
25linux_start()
26{
27 echo -n ' linux'
28 if ! kldstat -v | grep -E 'linux(aout|elf)' > /dev/null; then
29 kldload linux > /dev/null 2>&1
30 fi
4#
5
6# PROVIDE: abi
7# REQUIRE: LOGIN
8# BEFORE: securelevel
9# KEYWORD: nojail
10
11. /etc/rc.subr

--- 11 unchanged lines hidden (view full) ---

23}
24
25linux_start()
26{
27 echo -n ' linux'
28 if ! kldstat -v | grep -E 'linux(aout|elf)' > /dev/null; then
29 kldload linux > /dev/null 2>&1
30 fi
31 if [ -x /compat/linux/sbin/ldconfig ]; then
31 if [ -x /compat/linux/sbin/ldconfigDisabled ]; then
32 _tmpdir=`mktemp -d -t linux-ldconfig`
33 /compat/linux/sbin/ldconfig -C ${_tmpdir}/ld.so.cache
34 if ! cmp -s ${_tmpdir}/ld.so.cache /compat/linux/etc/ld.so.cache; then
35 cat ${_tmpdir}/ld.so.cache > /compat/linux/etc/ld.so.cache
36 fi
37 rm -rf ${_tmpdir}
38 fi
39}

--- 20 unchanged lines hidden ---
32 _tmpdir=`mktemp -d -t linux-ldconfig`
33 /compat/linux/sbin/ldconfig -C ${_tmpdir}/ld.so.cache
34 if ! cmp -s ${_tmpdir}/ld.so.cache /compat/linux/etc/ld.so.cache; then
35 cat ${_tmpdir}/ld.so.cache > /compat/linux/etc/ld.so.cache
36 fi
37 rm -rf ${_tmpdir}
38 fi
39}

--- 20 unchanged lines hidden ---