netif (256281) | netif (287737) |
---|---|
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: stable/10/etc/rc.d/netif 256255 2013-10-10 07:41:11Z hrs $ | 25# $FreeBSD: stable/10/etc/rc.d/netif 287737 2015-09-13 03:59:29Z hrs $ |
26# 27 28# PROVIDE: netif 29# REQUIRE: atm1 FILESYSTEMS serial sppp sysctl 30# REQUIRE: ipfilter ipfs 31# KEYWORD: nojailvnet 32 33. /etc/rc.subr --- 46 unchanged lines hidden (view full) --- 80 # Resync ipfilter 81 /etc/rc.d/ipfilter quietresync 82 fi 83 if [ -f /etc/rc.d/bridge -a -n "$cmdifn" ] ; then 84 /etc/rc.d/bridge start $cmdifn 85 fi 86 if [ -f /etc/rc.d/routing -a -n "$cmdifn" ] ; then 87 for _if in $cmdifn; do | 26# 27 28# PROVIDE: netif 29# REQUIRE: atm1 FILESYSTEMS serial sppp sysctl 30# REQUIRE: ipfilter ipfs 31# KEYWORD: nojailvnet 32 33. /etc/rc.subr --- 46 unchanged lines hidden (view full) --- 80 # Resync ipfilter 81 /etc/rc.d/ipfilter quietresync 82 fi 83 if [ -f /etc/rc.d/bridge -a -n "$cmdifn" ] ; then 84 /etc/rc.d/bridge start $cmdifn 85 fi 86 if [ -f /etc/rc.d/routing -a -n "$cmdifn" ] ; then 87 for _if in $cmdifn; do |
88 /etc/rc.d/routing start any $_if | 88 /etc/rc.d/routing static any $_if |
89 done 90 fi 91} 92 93network_stop() 94{ 95 _clone_down=1 96 network_stop0 $* --- 162 unchanged lines hidden --- | 89 done 90 fi 91} 92 93network_stop() 94{ 95 _clone_down=1 96 network_stop0 $* --- 162 unchanged lines hidden --- |