head	1.2;
access;
symbols
	RELENG_5_5_0_RELEASE:1.1.1.1
	RELENG_5_5:1.1.1.1.0.14
	RELENG_5_5_BP:1.1.1.1
	RELENG_5_4_0_RELEASE:1.1.1.1
	RELENG_5_4:1.1.1.1.0.12
	RELENG_5_4_BP:1.1.1.1
	RELENG_5_3_0_RELEASE:1.1.1.1
	RELENG_5_3:1.1.1.1.0.10
	RELENG_5_3_BP:1.1.1.1
	RELENG_5:1.1.1.1.0.8
	RELENG_5_BP:1.1.1.1
	RELENG_5_2_1_RELEASE:1.1.1.1
	RELENG_5_2_0_RELEASE:1.1.1.1
	RELENG_5_2:1.1.1.1.0.6
	RELENG_5_2_BP:1.1.1.1
	RELENG_5_1_0_RELEASE:1.1.1.1
	RELENG_5_1:1.1.1.1.0.4
	RELENG_5_1_BP:1.1.1.1
	RELENG_5_0_0_RELEASE:1.1.1.1
	RELENG_5_0:1.1.1.1.0.2
	RELENG_5_0_BP:1.1.1.1
	head_20020621:1.1.1.1
	NETBSD:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2005.06.06.02.51.26;	author obrien;	state dead;
branches;
next	1.1;

1.1
date	2002.06.21.19.07.21;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2002.06.21.19.07.21;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Remove RCng files that were brought in from NetBSD, but we ended up not
using them (or did and no longer do).
@
text
@#!/bin/sh
#
# $NetBSD: downinterfaces,v 1.2 2001/09/04 20:40:40 martin Exp $
#

# PROVIDE: downinterfaces
# KEYWORD: shutdown

if [ "x$1" != "xstop" ]; then exit 0; fi

. /etc/rc.conf

tmp=`ifconfig -lu`
iflist=""
for int in $tmp; do
	case $int in
	pppoe*)	iflist="$iflist $int"
		;;
	esac
done
iflist="$iflist $force_down_interfaces"
if [ "$iflist" = "" ] || [ "$iflist" = " " ]; then exit 0; fi

echo "Shutting down interfaces:$iflist"
for int in $iflist; do
	ifconfig $int down
done
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Sync with NetBSD's mainline.
@
text
@@
