abi (165378) | abi (165664) |
---|---|
1#!/bin/sh 2# | 1#!/bin/sh 2# |
3# $FreeBSD: head/etc/rc.d/abi 165378 2006-12-20 11:37:15Z yar $ | 3# $FreeBSD: head/etc/rc.d/abi 165664 2006-12-30 22:53:20Z yar $ |
4# 5 6# PROVIDE: abi 7# REQUIRE: archdep 8# KEYWORD: nojail 9 10. /etc/rc.subr 11 --- 6 unchanged lines hidden (view full) --- 18 echo -n ' sysvipc' 19 load_kld sysvmsg 20 load_kld sysvsem 21 load_kld sysvshm 22} 23 24linux_start() 25{ | 4# 5 6# PROVIDE: abi 7# REQUIRE: archdep 8# KEYWORD: nojail 9 10. /etc/rc.subr 11 --- 6 unchanged lines hidden (view full) --- 18 echo -n ' sysvipc' 19 load_kld sysvmsg 20 load_kld sysvsem 21 load_kld sysvshm 22} 23 24linux_start() 25{ |
26 local _tmpdir 27 |
|
26 echo -n ' linux' 27 load_kld -e 'linux(aout|elf)' linux 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 33 fi --- 23 unchanged lines hidden --- | 28 echo -n ' linux' 29 load_kld -e 'linux(aout|elf)' linux 30 if [ -x /compat/linux/sbin/ldconfigDisabled ]; then 31 _tmpdir=`mktemp -d -t linux-ldconfig` 32 /compat/linux/sbin/ldconfig -C ${_tmpdir}/ld.so.cache 33 if ! cmp -s ${_tmpdir}/ld.so.cache /compat/linux/etc/ld.so.cache; then 34 cat ${_tmpdir}/ld.so.cache > /compat/linux/etc/ld.so.cache 35 fi --- 23 unchanged lines hidden --- |