netif (171590) | netif (175676) |
---|---|
1#!/bin/sh 2# 3# Copyright (c) 2003 The FreeBSD Project. All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions 7# are met: 8# 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17# IN NO EVENT SHALL THE PROJECT BE LIABLE FOR ANY DIRECT, INDIRECT, 18# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24# | 1#!/bin/sh 2# 3# Copyright (c) 2003 The FreeBSD Project. All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions 7# are met: 8# 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17# IN NO EVENT SHALL THE PROJECT BE LIABLE FOR ANY DIRECT, INDIRECT, 18# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24# |
25# $FreeBSD: head/etc/rc.d/netif 171590 2007-07-25 18:08:01Z jhb $ | 25# $FreeBSD: head/etc/rc.d/netif 175676 2008-01-26 11:22:12Z mtm $ |
26# 27 28# PROVIDE: netif 29# REQUIRE: atm1 cleanvar ipfilter FILESYSTEMS serial sppp sysctl 30# KEYWORD: nojail 31 32. /etc/rc.subr 33. /etc/network.subr --- 33 unchanged lines hidden (view full) --- 67 ifnet_rename 68 fi 69 70 # Configure the interface(s). 71 network_common ifn_start verbose 72 73 if [ -f /etc/rc.d/ipfilter ] ; then 74 # Resync ipfilter | 26# 27 28# PROVIDE: netif 29# REQUIRE: atm1 cleanvar ipfilter FILESYSTEMS serial sppp sysctl 30# KEYWORD: nojail 31 32. /etc/rc.subr 33. /etc/network.subr --- 33 unchanged lines hidden (view full) --- 67 ifnet_rename 68 fi 69 70 # Configure the interface(s). 71 network_common ifn_start verbose 72 73 if [ -f /etc/rc.d/ipfilter ] ; then 74 # Resync ipfilter |
75 /etc/rc.d/ipfilter resync | 75 /etc/rc.d/ipfilter quietresync |
76 fi 77 if [ -f /etc/rc.d/bridge -a -n "$cmdifn" ] ; then 78 /etc/rc.d/bridge start $cmdifn 79 fi 80} 81 82network_stop() 83{ --- 102 unchanged lines hidden --- | 76 fi 77 if [ -f /etc/rc.d/bridge -a -n "$cmdifn" ] ; then 78 /etc/rc.d/bridge start $cmdifn 79 fi 80} 81 82network_stop() 83{ --- 102 unchanged lines hidden --- |