Deleted Added
full compact
netoptions (60628) netoptions (61961)
1#!/bin/sh -
2#
1#!/bin/sh -
2#
3# $FreeBSD: head/etc/rc.d/netoptions 60628 2000-05-16 06:52:11Z dillon $
3# $FreeBSD: head/etc/rc.d/netoptions 61961 2000-06-22 17:40:53Z dillon $
4# From: @(#)netstart 5.9 (Berkeley) 3/30/91
5
6# Note that almost all of the user-configurable behavior is no longer in
7# this file, but rather in /etc/defaults/rc.conf. Please check that file
8# first before contemplating any changes here. If you do need to change
9# this file for some reason, we would like to know about it.
10
11# First pass startup stuff.

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

345 esac
346
347 case ${arpproxy_all} in
348 [Yy][Ee][Ss])
349 echo -n ' ARP proxyall=YES'
350 sysctl -w net.link.ether.inet.proxyall=1 >/dev/null
351 ;;
352 esac
4# From: @(#)netstart 5.9 (Berkeley) 3/30/91
5
6# Note that almost all of the user-configurable behavior is no longer in
7# this file, but rather in /etc/defaults/rc.conf. Please check that file
8# first before contemplating any changes here. If you do need to change
9# this file for some reason, we would like to know about it.
10
11# First pass startup stuff.

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

345 esac
346
347 case ${arpproxy_all} in
348 [Yy][Ee][Ss])
349 echo -n ' ARP proxyall=YES'
350 sysctl -w net.link.ether.inet.proxyall=1 >/dev/null
351 ;;
352 esac
353
354 case ${ip_portrange_first} in
355 [Nn][Oo] | '')
356 ;;
357 *)
358 echo -n ' ip_portrange_first=$ip_portrange_first'
359 sysctl -w net.inet.ip.portrange.first=$ip_portrange_first >/dev/null
360 ;;
361 esac
362
363 case ${ip_portrange_last} in
364 [Nn][Oo] | '')
365 ;;
366 *)
367 echo -n ' ip_portrange_last=$ip_portrange_last'
368 sysctl -w net.inet.ip.portrange.last=$ip_portrange_last >/dev/null
369 ;;
370 esac
371
353 echo '.'
354
355 case ${ipsec_enable} in
356 [Yy][Ee][Ss])
357 if [ -f ${ipsec_file} ]; then
358 echo ' ipsec: enabled'
359 setkey -f ${ipsec_file}
360 else

--- 303 unchanged lines hidden ---
372 echo '.'
373
374 case ${ipsec_enable} in
375 [Yy][Ee][Ss])
376 if [ -f ${ipsec_file} ]; then
377 echo ' ipsec: enabled'
378 setkey -f ${ipsec_file}
379 else

--- 303 unchanged lines hidden ---