Deleted Added
full compact
netif (126744) netif (128714)
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 126744 2004-03-08 12:25:05Z pjd $
25# $FreeBSD: head/etc/rc.d/netif 128714 2004-04-28 13:20:15Z phk $
26#
27
28# PROVIDE: netif
29# REQUIRE: atm1 ipfilter mountcritlocal pccard serial sppp sysctl
30# KEYWORD: FreeBSD nojail
31
32. /etc/rc.subr
33. /etc/network.subr

--- 18 unchanged lines hidden (view full) ---

52
53 # Create IPv6<-->IPv4 tunnels
54 gif_up
55 fi
56
57 # Configure the interface(s).
58 network_common ifn_start verbose
59
26#
27
28# PROVIDE: netif
29# REQUIRE: atm1 ipfilter mountcritlocal pccard serial sppp sysctl
30# KEYWORD: FreeBSD nojail
31
32. /etc/rc.subr
33. /etc/network.subr

--- 18 unchanged lines hidden (view full) ---

52
53 # Create IPv6<-->IPv4 tunnels
54 gif_up
55 fi
56
57 # Configure the interface(s).
58 network_common ifn_start verbose
59
60 # Resync ipfilter
61 /etc/rc.d/ipfilter resync
60 if [ -f /etc/rc.d/ipfilter ] ; then
61 # Resync ipfilter
62 /etc/rc.d/ipfilter resync
63 fi
62}
63
64network_stop()
65{
66 echo -n "Stopping network:"
67
68 # Deconfigure the interface(s)
69 network_common ifn_stop

--- 97 unchanged lines hidden ---
64}
65
66network_stop()
67{
68 echo -n "Stopping network:"
69
70 # Deconfigure the interface(s)
71 network_common ifn_stop

--- 97 unchanged lines hidden ---