head	1.17;
access;
symbols
	RELENG_8_4:1.17.0.2
	RELENG_9_1_0_RELEASE:1.16.4.1.4.2
	RELENG_9_1:1.16.4.1.0.4
	RELENG_9_1_BP:1.16.4.1
	RELENG_8_3_0_RELEASE:1.16.2.1.8.1
	RELENG_8_3:1.16.2.1.0.8
	RELENG_8_3_BP:1.16.2.1
	RELENG_9_0_0_RELEASE:1.16.4.1.2.1
	RELENG_9_0:1.16.4.1.0.2
	RELENG_9_0_BP:1.16.4.1
	RELENG_9:1.16.0.4
	RELENG_9_BP:1.16
	RELENG_7_4_0_RELEASE:1.14.2.1.4.1
	RELENG_8_2_0_RELEASE:1.16.2.1.6.1
	RELENG_7_4:1.14.2.1.0.4
	RELENG_7_4_BP:1.14.2.1
	RELENG_8_2:1.16.2.1.0.6
	RELENG_8_2_BP:1.16.2.1
	RELENG_8_1_0_RELEASE:1.16.2.1.4.1
	RELENG_8_1:1.16.2.1.0.4
	RELENG_8_1_BP:1.16.2.1
	RELENG_7_3_0_RELEASE:1.14.2.1.2.1
	RELENG_7_3:1.14.2.1.0.2
	RELENG_7_3_BP:1.14.2.1
	RELENG_8_0_0_RELEASE:1.16.2.1.2.1
	RELENG_8_0:1.16.2.1.0.2
	RELENG_8_0_BP:1.16.2.1
	RELENG_8:1.16.0.2
	RELENG_8_BP:1.16
	RELENG_7_2_0_RELEASE:1.14.8.1
	RELENG_7_2:1.14.0.8
	RELENG_7_2_BP:1.14
	RELENG_7_1_0_RELEASE:1.14.6.1
	RELENG_6_4_0_RELEASE:1.7.2.5.4.1
	RELENG_7_1:1.14.0.6
	RELENG_7_1_BP:1.14
	RELENG_6_4:1.7.2.5.0.4
	RELENG_6_4_BP:1.7.2.5
	RELENG_7_0_0_RELEASE:1.14
	RELENG_6_3_0_RELEASE:1.7.2.5
	RELENG_7_0:1.14.0.4
	RELENG_7_0_BP:1.14
	RELENG_6_3:1.7.2.5.0.2
	RELENG_6_3_BP:1.7.2.5
	RELENG_7:1.14.0.2
	RELENG_7_BP:1.14
	RELENG_6_2_0_RELEASE:1.7.2.4
	RELENG_6_2:1.7.2.4.0.4
	RELENG_6_2_BP:1.7.2.4
	RELENG_5_5_0_RELEASE:1.6.2.1
	RELENG_5_5:1.6.2.1.0.6
	RELENG_5_5_BP:1.6.2.1
	RELENG_6_1_0_RELEASE:1.7.2.4
	RELENG_6_1:1.7.2.4.0.2
	RELENG_6_1_BP:1.7.2.4
	RELENG_6_0_0_RELEASE:1.7
	RELENG_6_0:1.7.0.4
	RELENG_6_0_BP:1.7
	RELENG_6:1.7.0.2
	RELENG_6_BP:1.7
	RELENG_5_4_0_RELEASE:1.6.2.1
	RELENG_5_4:1.6.2.1.0.4
	RELENG_5_4_BP:1.6.2.1
	RELENG_5_3_0_RELEASE:1.6.2.1
	RELENG_5_3:1.6.2.1.0.2
	RELENG_5_3_BP:1.6.2.1
	RELENG_5:1.6.0.2
	RELENG_5_BP:1.6
	RELENG_5_2_1_RELEASE:1.5
	RELENG_5_2_0_RELEASE:1.5
	RELENG_5_2:1.5.0.4
	RELENG_5_2_BP:1.5
	RELENG_5_1_0_RELEASE:1.5
	RELENG_5_1:1.5.0.2
	RELENG_5_1_BP:1.5
	RELENG_5_0_0_RELEASE:1.2
	RELENG_5_0:1.2.0.2
	RELENG_5_0_BP:1.2;
locks; strict;
comment	@# @;


1.17
date	2012.11.17.01.49.04;	author svnexp;	state Exp;
branches
	1.17.2.1;
next	1.16;

1.16
date	2009.05.30.21.51.38;	author dougb;	state Exp;
branches
	1.16.2.1
	1.16.4.1;
next	1.15;

1.15
date	2008.06.22.15.57.50;	author mtm;	state Exp;
branches;
next	1.14;

1.14
date	2006.12.31.10.37.18;	author yar;	state Exp;
branches
	1.14.2.1
	1.14.6.1
	1.14.8.1;
next	1.13;

1.13
date	2006.12.30.22.53.20;	author yar;	state Exp;
branches;
next	1.12;

1.12
date	2006.07.21.15.55.18;	author yar;	state Exp;
branches;
next	1.11;

1.11
date	2006.02.19.08.18.48;	author dougb;	state Exp;
branches;
next	1.10;

1.10
date	2006.02.13.21.41.32;	author marcel;	state Exp;
branches;
next	1.9;

1.9
date	2005.09.30.13.27.36;	author nyan;	state Exp;
branches;
next	1.8;

1.8
date	2005.09.28.16.24.47;	author yar;	state Exp;
branches;
next	1.7;

1.7
date	2004.10.07.13.55.25;	author mtm;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	2004.03.08.12.25.05;	author pjd;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	2003.05.06.00.09.51;	author obrien;	state Exp;
branches;
next	1.4;

1.4
date	2003.05.02.08.35.17;	author mtm;	state Exp;
branches;
next	1.3;

1.3
date	2003.04.27.05.49.53;	author imp;	state Exp;
branches;
next	1.2;

1.2
date	2002.10.12.10.31.31;	author schweikh;	state Exp;
branches;
next	1.1;

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

1.17.2.1
date	2012.11.17.01.49.04;	author svnexp;	state dead;
branches;
next	1.17.2.2;

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

1.16.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.16.2.1.2.1
	1.16.2.1.4.1
	1.16.2.1.6.1
	1.16.2.1.8.1;
next	1.16.2.2;

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

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

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

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

1.16.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.16.2.1.8.2;

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

1.16.4.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.16.4.1.2.1
	1.16.4.1.4.1;
next	1.16.4.2;

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

1.16.4.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.16.4.1.2.2;

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

1.16.4.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.16.4.1.4.2;

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

1.14.2.1
date	2009.08.03.20.20.15;	author dougb;	state Exp;
branches
	1.14.2.1.2.1
	1.14.2.1.4.1;
next	1.14.2.2;

1.14.2.2
date	2012.11.17.08.01.20;	author svnexp;	state Exp;
branches;
next	;

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

1.14.2.1.4.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.14.2.1.4.2;

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

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

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

1.7.2.1
date	2005.11.06.04.38.20;	author nyan;	state Exp;
branches;
next	1.7.2.2;

1.7.2.2
date	2006.01.17.07.12.38;	author dougb;	state Exp;
branches;
next	1.7.2.3;

1.7.2.3
date	2006.03.15.00.09.43;	author dougb;	state Exp;
branches;
next	1.7.2.4;

1.7.2.4
date	2006.04.03.04.34.47;	author marcel;	state Exp;
branches;
next	1.7.2.5;

1.7.2.5
date	2007.10.25.14.36.11;	author mtm;	state Exp;
branches
	1.7.2.5.4.1;
next	1.7.2.6;

1.7.2.6
date	2009.08.03.20.22.02;	author dougb;	state Exp;
branches;
next	1.7.2.7;

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

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

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


desc
@@


1.17
log
@Switching exporter and resync
@
text
@#!/bin/sh
#
# $FreeBSD: head/etc/rc.d/archdep 193119 2009-05-30 21:51:38Z dougb $
#

# PROVIDE: archdep
# REQUIRE: mountcritremote
# KEYWORD: nojail

. /etc/rc.subr

name="archdep"
start_cmd="archdep_start"
stop_cmd=":"

archdep_start()
{
	local _arch

	_arch=`${SYSCTL_N} hw.machine_arch`
	case $_arch in
	i386)
		# SCO binary emulation
		#
		if checkyesno ibcs2_enable; then
			echo -n 'Initial i386 initialization:'
			echo -n ' ibcs2'
			load_kld ibcs2
			case ${ibcs2_loaders} in
			[Nn][Oo])
				;;
			*)
				for i in ${ibcs2_loaders}; do
					load_kld ibcs2_$i
				done
				;;
			esac
			echo '.'
		fi
		;;
	esac
}

load_rc_config $name
run_rc_command "$1"
@


1.17.2.1
log
@file archdep was added on branch RELENG_8_4 on 2013-03-28 13:02:43 +0000
@
text
@d1 45
@


1.17.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 45
#!/bin/sh
#
# $FreeBSD: releng/8.4/etc/rc.d/archdep 193119 2009-05-30 21:51:38Z dougb $
#

# PROVIDE: archdep
# REQUIRE: mountcritremote
# KEYWORD: nojail

. /etc/rc.subr

name="archdep"
start_cmd="archdep_start"
stop_cmd=":"

archdep_start()
{
	local _arch

	_arch=`${SYSCTL_N} hw.machine_arch`
	case $_arch in
	i386)
		# SCO binary emulation
		#
		if checkyesno ibcs2_enable; then
			echo -n 'Initial i386 initialization:'
			echo -n ' ibcs2'
			load_kld ibcs2
			case ${ibcs2_loaders} in
			[Nn][Oo])
				;;
			*)
				for i in ${ibcs2_loaders}; do
					load_kld ibcs2_$i
				done
				;;
			esac
			echo '.'
		fi
		;;
	esac
}

load_rc_config $name
run_rc_command "$1"
@


1.16
log
@SVN rev 193119 on 2009-05-30 21:51:38Z by dougb

Small cleanup, add (spurious) quotation marks around the value
for name= to make these scripts consistent with the rest.
@
text
@d3 1
a3 1
# $FreeBSD$
@


1.16.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.16.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/archdep 193119 2009-05-30 21:51:38Z dougb $
@


1.16.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.16.4.1.4.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/9.1/etc/rc.d/archdep 193119 2009-05-30 21:51:38Z dougb $
@


1.16.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.16.4.1.2.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/9.0/etc/rc.d/archdep 193119 2009-05-30 21:51:38Z dougb $
@


1.16.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.16.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/archdep 193119 2009-05-30 21:51:38Z dougb $
@


1.16.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.16.2.1.8.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/8.3/etc/rc.d/archdep 193119 2009-05-30 21:51:38Z dougb $
@


1.16.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.16.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.16.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.15
log
@SVN rev 179929 on 2008-06-22 15:57:50Z by mtm

Simplify this script with the added bonus that the bit about i386
initialization doesn't get printed unless ibcs2_enable is set.
@
text
@d12 1
a12 1
name=archdep
@


1.14
log
@Use $required_modules wherever suitable.  Use load_kld() in special
cases.  So we get rid of quite a few lines of duplicated code.
@
text
@a15 19
# SCO binary emulation
#
ibcs2_compat()
{
	if checkyesno ibcs2_enable; then
		echo -n ' ibcs2'
		load_kld ibcs2
		case ${ibcs2_loaders} in
		[Nn][Oo])
			;;
		*)
			for i in ${ibcs2_loaders}; do
				load_kld ibcs2_$i
			done
			;;
		esac
	fi
}

a20 1
	echo -n "Initial $_arch initialization:"
d23 17
a39 1
		ibcs2_compat
a41 1
	echo '.'
@


1.14.2.1
log
@SVN rev 196055 on 2009-08-03 20:20:15Z by dougb

MFC r193119, quotation marks around the value of name=
(i.e., diff reduction to HEAD)
@
text
@d12 1
a12 1
name="archdep"
@


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


1.14.2.1.4.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.14.2.1.4.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/7.4/etc/rc.d/archdep 196055 2009-08-03 20:20:15Z dougb $
@


1.14.2.1.2.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.14.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.14.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.13
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
@d22 1
a22 1
		kldload ibcs2 > /dev/null 2>&1
d28 1
a28 1
				kldload ibcs2_$i > /dev/null 2>&1
@


1.12
log
@Since Alpha support isn't in HEAD anymore, remove Alpha-specific
rc.conf(5) knobs, too: osf1_enable, unaligned_print.
@
text
@d37 2
@


1.11
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
@a15 21
# should we print out unaligned access warnings?
#
unaligned_warnings()
{
	if ! checkyesno unaligned_print; then
		sysctl machdep.unaligned_print=0
	fi
}

# Alpha OSF/1 binary emulation
#
osf1_compat()
{
	if checkyesno osf1_enable; then
		echo -n ' OSF/1'
		if ! kldstat -v | grep osf1_ecoff > /dev/null; then
			kldload osf1 > /dev/null 2>&1
		fi
	fi
}

a42 4
	alpha)
		osf1_compat
		unaligned_warnings
		;;
@


1.10
log
@On ia64, the unaligned_print sysctl is a debugging knob under debug
and not under machdep as the behaviour is controlled by the process.
When PSR.ac is set the process expects to receive a SIGBUS. Otherwise
the processor or the kernel will emulate the misaligned memory access.

MFC after: 3 days
@
text
@d7 1
a7 2
# REQUIRE: LOGIN
# BEFORE: abi
@


1.9
log
@Use hw.machine_arch instead of hw.machine.
@
text
@a68 3
	ia64)
		unaligned_warnings
		;;
@


1.8
log
@Make it a good-mannered rcNG script respectful to the command line.
@
text
@d59 1
a59 1
	_arch=`${SYSCTL_N} hw.machine`
@


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

Discussed with: dougb, brooks
MFC after: 3 days
@
text
@d14 2
a15 1
load_rc_config $name
d57 21
a77 15
_arch=`${SYSCTL_N} hw.machine`
echo -n "Initial $_arch initialization:"
case $_arch in
i386)
	ibcs2_compat
	;;
alpha)
	osf1_compat
	unaligned_warnings
	;;
ia64)
	unaligned_warnings
	;;
esac
echo '.'
@


1.7.2.1
log
@MFC: Use hw.machine_arch instead of hw.machine.
@
text
@d56 1
a56 1
_arch=`${SYSCTL_N} hw.machine_arch`
@


1.7.2.2
log
@MFC 1.8 - bring into conformance with rc.d standards
MFC 1.9 - Use hw.machine_arch instead of hw.machine
@
text
@d14 1
a14 2
start_cmd="archdep_start"
stop_cmd=":"
d56 15
a70 21
archdep_start()
{
	_arch=`${SYSCTL_N} hw.machine_arch`
	echo -n "Initial $_arch initialization:"
	case $_arch in
	i386)
		ibcs2_compat
		;;
	alpha)
		osf1_compat
		unaligned_warnings
		;;
	ia64)
		unaligned_warnings
		;;
	esac
	echo '.'
}

load_rc_config $name
run_rc_command "$1"
@


1.7.2.3
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: mountcritremote
@


1.7.2.4
log
@MFC 1.10: On ia64, the unaligned_print sysctl is a debugging knob.

Approved by: re (hrs)
@
text
@d68 3
@


1.7.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
@a57 2
	local _arch

@


1.7.2.6
log
@SVN rev 196056 on 2009-08-03 20:22:02Z by dougb

MFC r193119, quotation marks around the value of name=
(i.e., diff reduction to HEAD)
@
text
@d12 1
a12 1
name="archdep"
@


1.7.2.7
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: stable/6/etc/rc.d/archdep 196056 2009-08-03 20:22:02Z dougb $
@


1.7.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.6
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.6.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.5
log
@Back out the amd64 additions.  Hammer doesn't do APM, and we certainly aren't
ready for any ibcs2_compat bits yet.
@
text
@d9 1
a9 1
# KEYWORD: FreeBSD
@


1.4
log
@Huh? When did the etc bits for amd64 get added?
Make sure they're ported over to rc.d.
While I'm at it correct a logic mistake in rc.d/apmd.

Approved by:	markm (mentor)(implicit)
@
text
@d59 1
a59 1
i386|amd64)
@


1.3
log
@xten isn't needed after tw is gone.

Approved by: re@@ (scottl)
@
text
@d59 1
a59 1
i386)
@


1.2
log
@Fix style bugs:
* Space -> tabs conversion.
* Removed blanks before semicolon in "if ... ; then".
* Proper indentation of misindented lines.
* Put a full stop after some comments.
* Removed whitespace at end of line.

Approved by:	silence from gordon
@
text
@a55 10
# X-10 Daemon
#
x10_daemon()
{
	if checkyesno xtend_enable; then
		echo -n ' xtend'
		/usr/libexec/xtend
	fi
}

a60 1
	x10_daemon
@


1.1
log
@Add an archdep script and hook it up to the build.

Submitted by:	Mike Makonnen <makonnen@@pacbell.net>
@
text
@d20 1
a20 1
	if ! checkyesno unaligned_print ; then
d29 1
a29 1
	if checkyesno osf1_enable ; then
d41 1
a41 1
	if checkyesno ibcs2_enable ; then
d60 1
a60 1
	if checkyesno xtend_enable ; then
@

