netif (149730) | netif (149789) |
---|---|
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 149730 2005-09-02 18:30:16Z brooks $ | 25# $FreeBSD: head/etc/rc.d/netif 149789 2005-09-04 21:57:23Z keramida $ |
26# 27 28# PROVIDE: netif 29# REQUIRE: atm1 ipfilter mountcritlocal pccard serial sppp sysctl 30# KEYWORD: nojail 31 32. /etc/rc.subr 33. /etc/network.subr --- 12 unchanged lines hidden (view full) --- 46 # 47 _cmdifn=$* 48 49 if [ -z "$_cmdifn" ]; then 50 # 51 # We're operating as a general network start routine. 52 # 53 | 26# 27 28# PROVIDE: netif 29# REQUIRE: atm1 ipfilter mountcritlocal pccard serial sppp sysctl 30# KEYWORD: nojail 31 32. /etc/rc.subr 33. /etc/network.subr --- 12 unchanged lines hidden (view full) --- 46 # 47 _cmdifn=$* 48 49 if [ -z "$_cmdifn" ]; then 50 # 51 # We're operating as a general network start routine. 52 # 53 |
54 # disable SIGINT (Ctrl-c) when running at at startup | 54 # disable SIGINT (Ctrl-c) when running at startup |
55 trap : 2 56 57 # Create cloned interfaces 58 clone_up 59 60 # Create IPv6<-->IPv4 tunnels 61 gif_up 62 --- 114 unchanged lines hidden --- | 55 trap : 2 56 57 # Create cloned interfaces 58 clone_up 59 60 # Create IPv6<-->IPv4 tunnels 61 gif_up 62 --- 114 unchanged lines hidden --- |