defaultroute (77651) | defaultroute (77992) |
---|---|
1#!/bin/sh - 2# 3# Copyright (c) 1993 The FreeBSD Project 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 10 unchanged lines hidden (view full) --- 19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25# SUCH DAMAGE. 26# | 1#!/bin/sh - 2# 3# Copyright (c) 1993 The FreeBSD Project 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 10 unchanged lines hidden (view full) --- 19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25# SUCH DAMAGE. 26# |
27# $FreeBSD: head/etc/rc.d/routing 77651 2001-06-03 12:26:56Z brian $ | 27# $FreeBSD: head/etc/rc.d/routing 77992 2001-06-10 16:21:56Z brian $ |
28# From: @(#)netstart 5.9 (Berkeley) 3/30/91 29# 30 31# Note that almost all of the user-configurable behavior is no longer in 32# this file, but rather in /etc/defaults/rc.conf. Please check that file 33# first before contemplating any changes here. If you do need to change 34# this file for some reason, we would like to know about it. 35 --- 194 unchanged lines hidden (view full) --- 230 case ${ppp_nat} in 231 [Yy][Ee][Ss]) 232 ppp_command="${ppp_command} -nat" 233 ;; 234 esac 235 236 ppp_command="${ppp_command} ${ppp_profile}" 237 | 28# From: @(#)netstart 5.9 (Berkeley) 3/30/91 29# 30 31# Note that almost all of the user-configurable behavior is no longer in 32# this file, but rather in /etc/defaults/rc.conf. Please check that file 33# first before contemplating any changes here. If you do need to change 34# this file for some reason, we would like to know about it. 35 --- 194 unchanged lines hidden (view full) --- 230 case ${ppp_nat} in 231 [Yy][Ee][Ss]) 232 ppp_command="${ppp_command} -nat" 233 ;; 234 esac 235 236 ppp_command="${ppp_command} ${ppp_profile}" 237 |
238 echo -n "Starting ppp as \"${ppp_user}\"" | 238 echo "Starting ppp as \"${ppp_user}\"" |
239 su -m ${ppp_user} -c "exec ${ppp_command}" 240 ;; 241 esac 242 243 # Initialize IP filtering using ipfw 244 # 245 if /sbin/ipfw -q flush > /dev/null 2>&1; then 246 firewall_in_kernel=1 --- 546 unchanged lines hidden --- | 239 su -m ${ppp_user} -c "exec ${ppp_command}" 240 ;; 241 esac 242 243 # Initialize IP filtering using ipfw 244 # 245 if /sbin/ipfw -q flush > /dev/null 2>&1; then 246 firewall_in_kernel=1 --- 546 unchanged lines hidden --- |