head	1.13;
access;
symbols
	RELENG_8_4:1.13.0.2
	RELENG_9_1_0_RELEASE:1.12.4.1.4.2
	RELENG_9_1:1.12.4.1.0.4
	RELENG_9_1_BP:1.12.4.1
	RELENG_8_3_0_RELEASE:1.12.2.1.8.1
	RELENG_8_3:1.12.2.1.0.8
	RELENG_8_3_BP:1.12.2.1
	RELENG_9_0_0_RELEASE:1.12.4.1.2.1
	RELENG_9_0:1.12.4.1.0.2
	RELENG_9_0_BP:1.12.4.1
	RELENG_9:1.12.0.4
	RELENG_9_BP:1.12
	RELENG_7_4_0_RELEASE:1.11.12.1
	RELENG_8_2_0_RELEASE:1.12.2.1.6.1
	RELENG_7_4:1.11.0.12
	RELENG_7_4_BP:1.11
	RELENG_8_2:1.12.2.1.0.6
	RELENG_8_2_BP:1.12.2.1
	RELENG_8_1_0_RELEASE:1.12.2.1.4.1
	RELENG_8_1:1.12.2.1.0.4
	RELENG_8_1_BP:1.12.2.1
	RELENG_7_3_0_RELEASE:1.11.10.1
	RELENG_7_3:1.11.0.10
	RELENG_7_3_BP:1.11
	RELENG_8_0_0_RELEASE:1.12.2.1.2.1
	RELENG_8_0:1.12.2.1.0.2
	RELENG_8_0_BP:1.12.2.1
	RELENG_8:1.12.0.2
	RELENG_8_BP:1.12
	RELENG_7_2_0_RELEASE:1.11.8.1
	RELENG_7_2:1.11.0.8
	RELENG_7_2_BP:1.11
	RELENG_7_1_0_RELEASE:1.11.6.1
	RELENG_6_4_0_RELEASE:1.4.2.5.4.1
	RELENG_7_1:1.11.0.6
	RELENG_7_1_BP:1.11
	RELENG_6_4:1.4.2.5.0.4
	RELENG_6_4_BP:1.4.2.5
	RELENG_7_0_0_RELEASE:1.11
	RELENG_6_3_0_RELEASE:1.4.2.5
	RELENG_7_0:1.11.0.4
	RELENG_7_0_BP:1.11
	RELENG_6_3:1.4.2.5.0.2
	RELENG_6_3_BP:1.4.2.5
	RELENG_7:1.11.0.2
	RELENG_7_BP:1.11
	RELENG_6_2_0_RELEASE:1.4.2.2
	RELENG_6_2:1.4.2.2.0.4
	RELENG_6_2_BP:1.4.2.2
	RELENG_5_5_0_RELEASE:1.3.2.1
	RELENG_5_5:1.3.2.1.0.6
	RELENG_5_5_BP:1.3.2.1
	RELENG_6_1_0_RELEASE:1.4.2.2
	RELENG_6_1:1.4.2.2.0.2
	RELENG_6_1_BP:1.4.2.2
	RELENG_6_0_0_RELEASE:1.4
	RELENG_6_0:1.4.0.4
	RELENG_6_0_BP:1.4
	RELENG_6:1.4.0.2
	RELENG_6_BP:1.4
	RELENG_5_4_0_RELEASE:1.3.2.1
	RELENG_5_4:1.3.2.1.0.4
	RELENG_5_4_BP:1.3.2.1
	RELENG_5_3_0_RELEASE:1.3.2.1
	RELENG_5_3:1.3.2.1.0.2
	RELENG_5_3_BP:1.3.2.1
	RELENG_5:1.3.0.2
	RELENG_5_BP:1.3
	RELENG_5_2_1_RELEASE:1.2
	RELENG_5_2_0_RELEASE:1.2
	RELENG_5_2:1.2.0.4
	RELENG_5_2_BP:1.2
	RELENG_5_1_0_RELEASE:1.2
	RELENG_5_1:1.2.0.2
	RELENG_5_1_BP:1.2
	RELENG_5_0_0_RELEASE:1.1
	RELENG_5_0:1.1.0.2
	RELENG_5_0_BP:1.1;
locks; strict;
comment	@# @;


1.13
date	2012.11.17.01.49.04;	author svnexp;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2008.06.22.16.19.50;	author mtm;	state Exp;
branches
	1.12.2.1
	1.12.4.1;
next	1.11;

1.11
date	2006.12.30.22.53.19;	author yar;	state Exp;
branches
	1.11.2.1
	1.11.6.1
	1.11.8.1
	1.11.10.1
	1.11.12.1;
next	1.10;

1.10
date	2006.12.20.11.37.15;	author yar;	state Exp;
branches;
next	1.9;

1.9
date	2006.06.21.09.53.25;	author yar;	state Exp;
branches;
next	1.8;

1.8
date	2006.02.19.08.18.48;	author dougb;	state Exp;
branches;
next	1.7;

1.7
date	2006.01.24.18.58.48;	author netchild;	state Exp;
branches;
next	1.6;

1.6
date	2006.01.11.21.30.41;	author brooks;	state Exp;
branches;
next	1.5;

1.5
date	2005.12.19.10.57.00;	author dougb;	state Exp;
branches;
next	1.4;

1.4
date	2004.10.07.13.55.25;	author mtm;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2004.03.08.12.25.05;	author pjd;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2003.05.05.15.38.41;	author mtm;	state Exp;
branches;
next	1.1;

1.1
date	2002.06.13.22.14.36;	author gordon;	state Exp;
branches;
next	;

1.13.2.1
date	2012.11.17.01.49.04;	author svnexp;	state dead;
branches;
next	1.13.2.2;

1.13.2.2
date	2013.03.28.13.02.43;	author svnexp;	state Exp;
branches;
next	;

1.12.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.12.2.1.2.1
	1.12.2.1.4.1
	1.12.2.1.6.1
	1.12.2.1.8.1;
next	1.12.2.2;

1.12.2.2
date	2012.11.17.10.35.56;	author svnexp;	state Exp;
branches;
next	;

1.12.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.12.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.12.2.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.12.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.12.2.1.8.2;

1.12.2.1.8.2
date	2012.11.17.08.24.38;	author svnexp;	state Exp;
branches;
next	;

1.12.4.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.12.4.1.2.1
	1.12.4.1.4.1;
next	1.12.4.2;

1.12.4.2
date	2012.11.17.11.36.11;	author svnexp;	state Exp;
branches;
next	;

1.12.4.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.12.4.1.2.2;

1.12.4.1.2.2
date	2012.11.17.08.36.11;	author svnexp;	state Exp;
branches;
next	;

1.12.4.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.12.4.1.4.2;

1.12.4.1.4.2
date	2012.11.17.08.47.01;	author svnexp;	state Exp;
branches;
next	;

1.11.2.1
date	2012.11.17.08.01.19;	author svnexp;	state Exp;
branches;
next	;

1.11.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.11.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.11.10.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.11.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.11.12.2;

1.11.12.2
date	2012.11.17.08.16.37;	author svnexp;	state Exp;
branches;
next	;

1.4.2.1
date	2006.01.17.06.37.48;	author dougb;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2006.03.15.00.09.43;	author dougb;	state Exp;
branches;
next	1.4.2.3;

1.4.2.3
date	2006.12.20.11.45.40;	author yar;	state Exp;
branches;
next	1.4.2.4;

1.4.2.4
date	2007.03.10.14.04.01;	author yar;	state Exp;
branches;
next	1.4.2.5;

1.4.2.5
date	2007.10.25.14.36.11;	author mtm;	state Exp;
branches
	1.4.2.5.4.1;
next	1.4.2.6;

1.4.2.6
date	2012.11.17.07.39.06;	author svnexp;	state Exp;
branches;
next	;

1.4.2.5.4.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.3.2.1
date	2004.10.10.09.50.53;	author mtm;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Switching exporter and resync
@
text
@#!/bin/sh
#
# $FreeBSD: head/etc/rc.d/abi 180563 2008-07-16 19:22:48Z dougb $
#

# PROVIDE: abi
# REQUIRE: archdep
# KEYWORD: nojail

. /etc/rc.subr

name="abi"
start_cmd="${name}_start"
stop_cmd=":"

sysv_start()
{
	echo -n ' sysvipc'
	load_kld sysvmsg
	load_kld sysvsem
	load_kld sysvshm
}

linux_start()
{
	local _tmpdir

	echo -n ' linux'
	load_kld -e 'linux(aout|elf)' linux
	if [ -x /compat/linux/sbin/ldconfigDisabled ]; then
		_tmpdir=`mktemp -d -t linux-ldconfig`
		/compat/linux/sbin/ldconfig -C ${_tmpdir}/ld.so.cache
		if ! cmp -s ${_tmpdir}/ld.so.cache /compat/linux/etc/ld.so.cache; then
			cat ${_tmpdir}/ld.so.cache > /compat/linux/etc/ld.so.cache
		fi
		rm -rf ${_tmpdir}
	fi
}

svr4_start()
{
	echo -n ' svr4'
	load_kld -m svr4elf svr4
}

abi_start()
{
	local _echostop

	_echostop=
	if checkyesno sysvipc_enable || checkyesno linux_enable || checkyesno svr4_enable; then
		echo -n 'Additional ABI support:'
		_echostop=yes
	fi

	checkyesno sysvipc_enable && sysv_start
	checkyesno linux_enable && linux_start
	checkyesno svr4_enable && svr4_start

	[ -n "${_echostop}" ] && echo '.'
}

load_rc_config $name
run_rc_command "$1"
@


1.13.2.1
log
@file abi was added on branch RELENG_8_4 on 2013-03-28 13:02:43 +0000
@
text
@d1 64
@


1.13.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 64
#!/bin/sh
#
# $FreeBSD: releng/8.4/etc/rc.d/abi 180563 2008-07-16 19:22:48Z dougb $
#

# PROVIDE: abi
# REQUIRE: archdep
# KEYWORD: nojail

. /etc/rc.subr

name="abi"
start_cmd="${name}_start"
stop_cmd=":"

sysv_start()
{
	echo -n ' sysvipc'
	load_kld sysvmsg
	load_kld sysvsem
	load_kld sysvshm
}

linux_start()
{
	local _tmpdir

	echo -n ' linux'
	load_kld -e 'linux(aout|elf)' linux
	if [ -x /compat/linux/sbin/ldconfigDisabled ]; then
		_tmpdir=`mktemp -d -t linux-ldconfig`
		/compat/linux/sbin/ldconfig -C ${_tmpdir}/ld.so.cache
		if ! cmp -s ${_tmpdir}/ld.so.cache /compat/linux/etc/ld.so.cache; then
			cat ${_tmpdir}/ld.so.cache > /compat/linux/etc/ld.so.cache
		fi
		rm -rf ${_tmpdir}
	fi
}

svr4_start()
{
	echo -n ' svr4'
	load_kld -m svr4elf svr4
}

abi_start()
{
	local _echostop

	_echostop=
	if checkyesno sysvipc_enable || checkyesno linux_enable || checkyesno svr4_enable; then
		echo -n 'Additional ABI support:'
		_echostop=yes
	fi

	checkyesno sysvipc_enable && sysv_start
	checkyesno linux_enable && linux_start
	checkyesno svr4_enable && svr4_start

	[ -n "${_echostop}" ] && echo '.'
}

load_rc_config $name
run_rc_command "$1"
@


1.12
log
@SVN rev 179930 on 2008-06-22 16:19:50Z by mtm

Do not print anything unless at least one of the abi emulators is
enabled.
@
text
@d3 1
a3 1
# $FreeBSD$
@


1.12.4.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.12.4.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d3 1
a3 1
# $FreeBSD: stable/9/etc/rc.d/abi 180563 2008-07-16 19:22:48Z dougb $
@


1.12.4.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.12.4.1.4.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/9.1/etc/rc.d/abi 180563 2008-07-16 19:22:48Z dougb $
@


1.12.4.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.12.4.1.2.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/9.0/etc/rc.d/abi 180563 2008-07-16 19:22:48Z dougb $
@


1.12.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.12.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d3 1
a3 1
# $FreeBSD: stable/8/etc/rc.d/abi 180563 2008-07-16 19:22:48Z dougb $
@


1.12.2.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.12.2.1.8.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/8.3/etc/rc.d/abi 180563 2008-07-16 19:22:48Z dougb $
@


1.12.2.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.12.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.12.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.11
log
@Eliminate global symbols starting with an underscore from rc.d
scripts, except for mdconfig* and jail.  Such symbols are reserved
for the rc.subr internals.  Most scripts can be fixed by just
declaring _foo symbols as local: few scripts actually need them to
be global.

Discussed with:	dougb in freebsd-rc
@
text
@d48 7
a54 1
	echo -n 'Additional ABI support:'
d60 1
a60 1
	echo '.'
@


1.11.2.1
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: stable/7/etc/rc.d/abi 220110 2011-03-28 19:29:30Z dougb $
@


1.11.12.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.11.12.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/7.4/etc/rc.d/abi 165664 2006-12-30 22:53:20Z yar $
@


1.11.10.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.11.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.11.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.10
log
@Improve rc.d conformance:
- don't play a needless trick with prestart, just use start method;
- provide no-op stop method so that we don't get bogus "abi not running" error.
@
text
@d26 2
@


1.9
log
@Set an example of using load_kld() from rc.subr.
@
text
@d13 2
a14 2
start_precmd="${name}_prestart"
start_cmd=":"
d44 1
a44 1
abi_prestart()
@


1.8
log
@Make sure abi (and therefore archdep) start before SERVERS as part of
the ongoing re-alignment of ordering that is necessary as a result of
including local scripts in the base rcorder. [1]

Accomplish this by removing the BEFORE's, and using REQUIRE instead.
This makes the dependencies more obvious, and less susceptible to turning
circular and/or nonsensical when seemingly innocent changes are made
in one place and not another.

Requested by:	delphij [1]
@
text
@d19 3
a21 3
	kldload sysvmsg >/dev/null 2>&1
	kldload sysvsem >/dev/null 2>&1
	kldload sysvshm >/dev/null 2>&1
d27 1
a27 3
	if ! kldstat -v | grep -E 'linux(aout|elf)' > /dev/null; then
		kldload linux > /dev/null 2>&1
	fi
d41 1
a41 1
	kldload svr4 > /dev/null 2>&1
@


1.7
log
@As a quick fix disable the update of the linux ld.so.cache file, since
currently it grabs some FreeBSD native libs too.

A final solution is under discussion with brooks.
@
text
@d7 1
a7 2
# REQUIRE: LOGIN
# BEFORE:  securelevel
@


1.6
log
@Be a little more read-only file system friendly when running the Linux
ldconfig.  Build the cache in a temporary directory and only install it
if it's actually different that the installed one.

Also, use "cat tmp > real" to install the temporary file in the real
location to allow the real location to be a symlink to a writable
directory such as /var/run (where the file actually belongs).

MFC After:	5 days
@
text
@d31 1
a31 1
	if [ -x /compat/linux/sbin/ldconfig ]; then
@


1.5
log
@Clear up problems with /etc/rc.d/{abi|cleanvar|cleartmp} brought
to light by the PR.  Specifically, convert these three scripts
into good rc.d citizens, making sure that their functionality
is preserved, but the rc.d framework rules are not broken.

Add support for cleanvar as a regular rc.d script in the
default rc.conf, and document this in the man page.

Add a descriptive comment to rc.conf that regarding the
three emulation/compatibility services provided by abi
so users will not be confused by these services not having
their own startup scripts.

PR:		conf/84574
Submitted by:	Alexander Botero-Lowry
@
text
@d32 6
a37 1
		/compat/linux/sbin/ldconfig
@


1.4
log
@Remove the requirement for the FreeBSD keyword as it no longer
makes any sense.

Discussed with: dougb, brooks
MFC after: 3 days
@
text
@d13 3
a15 6
echo -n 'Additional ABI support:'

name="sysvipc"
rcvar=`set_rcvar`
start_cmd="sysv_start"
stop_cmd=":"
a23 6
load_rc_config $name
run_rc_command "$1"

name="linux"
rcvar=`set_rcvar`
start_cmd="linux_start"
a34 2
load_rc_config $name
run_rc_command "$1"
d36 16
a51 4
name="svr4"
rcvar=`set_rcvar`
start_precmd="echo -n ' svr4'"
start_cmd="kldload svr4 > /dev/null 2>&1"
a54 2

echo '.'
@


1.4.2.1
log
@MFC changes to have these scripts follow proper rc.d syntax

PR:		conf/84574
Submitted by:	Alexander Botero-Lowry
@
text
@d13 6
a18 3
name="abi"
start_precmd="${name}_prestart"
start_cmd=":"
d27 6
d44 2
d47 4
a50 16
svr4_start()
{
	echo -n ' svr4'
	kldload svr4 > /dev/null 2>&1
}

abi_prestart()
{
	echo -n 'Additional ABI support:'

	checkyesno sysvipc_enable && sysv_start
	checkyesno linux_enable && linux_start
	checkyesno svr4_enable && svr4_start

	echo '.'
}
d54 2
@


1.4.2.2
log
@MFC moving abi and archdep before SERVERS, and removing scary BEFORE's

MFC'ed versions:
SERVERS 1.6, abi 1.8, archdep 1.11

Reminded by:	delphij
Approved by:	re (scottl)
@
text
@d7 2
a8 1
# REQUIRE: archdep
@


1.4.2.3
log
@MFC rev. 1.9: Use load_kld().
@
text
@d19 3
a21 3
	load_kld sysvmsg
	load_kld sysvsem
	load_kld sysvshm
d27 3
a29 1
	load_kld -e 'linux(aout|elf)' linux
d38 1
a38 1
	load_kld -m svr4elf svr4
@


1.4.2.4
log
@MFC rev. 1.10:

Improve rc.d conformance:
- don't play a needless trick with prestart, just use start method;
- provide no-op stop method so that we don't get bogus "abi not running" error.
@
text
@d13 2
a14 2
start_cmd="${name}_start"
stop_cmd=":"
d39 1
a39 1
abi_start()
@


1.4.2.5
log
@MFC:
  Eliminate global symbols starting with an underscore from rc.d
  scripts, except for mdconfig* and jail.  Such symbols are reserved
  for the rc.subr internals.  Most scripts can be fixed by just
  declaring _foo symbols as local: few scripts actually need them to
  be global.
@
text
@a25 2
	local _tmpdir

@


1.4.2.6
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: stable/6/etc/rc.d/abi 172969 2007-10-25 14:36:12Z mtm $
@


1.4.2.5.4.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.3
log
@Mark scripts as not usable inside a jail by adding keyword 'nojail'.

Some suggestions from:	rwatson, Ruben de Groot <mail25@@bzerk.org>
@
text
@d9 1
a9 1
# KEYWORD: FreeBSD nojail
@


1.3.2.1
log
@RCS file: /home/ncvs/src/etc/rc,v
----------------------------
revision 1.335
date: 2004/10/08 14:23:49;  author: mtm;  state: Exp;  lines: +0 -1
Remove an unused variable.

Submitted by: Pawel Worach <pawel.worach@@telia.com>
----------------------------
revision 1.334
date: 2004/10/07 13:55:25;  author: mtm;  state: Exp;  lines: +1 -1
Remove the requirement for the FreeBSD keyword as it no longer
makes any sense.

Discussed with: dougb, brooks
MFC after: 3 days
=============================================================================
RCS file: /home/ncvs/src/etc/rc.d/nsswitch,v
----------------------------
revision 1.4
date: 2004/09/16 17:03:12;  author: keramida;  state: Exp;  lines: +1 -1
Fix requirement of `network' to `NETWORK' because the former isn't
provided by any rc.d script.

Approved by:	mtm
=============================================================================
RCS file: /home/ncvs/src/etc/rc.d/pflog,v
----------------------------
revision 1.3
date: 2004/09/16 17:04:20;  author: keramida;  state: Exp;  lines: +1 -1
We don't have any providers of `beforenetlkm' in FreeBSD.  Remove the
dependency to it from our rc.d scripts.

Approved by:	mtm
=============================================================================

Approved by: re/scottl
@
text
@d9 1
a9 1
# KEYWORD: nojail
@


1.2
log
@Move securelevel further back in the boot order.

Approved by:	markm (mentor)(implicit)
Reviewed by:	dougb
@
text
@d9 1
a9 1
# KEYWORD: FreeBSD
@


1.1
log
@Merge in all the changes that Mike Makonnen has been maintaining for a
while. This is only the script pieces, the glue for the build comes next.

Submitted by:	Mike Makonnen <makonnen@@pacbell.net>
Reviewed by:	silence on -current and -hackers
Prodded by:	rwatson
@
text
@d8 1
@

