Patch: Additional vars in /etc/defaults/rc.conf

Matthew Dillon dillon at apollo.backplane.com
Mon Mar 15 09:05:10 PST 2004


:--=-=-=
:
:I think these additional vars need to be set or atleast defined in
:/etc/defaults/rc.conf for rcng's /etc/rc.d/network [start|stop]
:to work correctly. (without spitting errors like $variable is not defined)
:
:Tested with /etc/rc.d/network start/stop for both v4/v6

    Hmm.  Well, /etc/rc.d/network and /etc/rc.d/rtsold is not actually part
    of DragonFly's RCNG sequence.  It's actually rather messy, but the
    network code is rc.d/netif, with additional subroutines taken from 
    network.subr.

    That's why these constants aren't defined.  I don't think 
    network, network1, network2, or network3 in /etc/rc.d is being used
    by DragonFly.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

:
:--=-=-=
:Content-Type: application/octet-stream
:Content-Disposition: attachment; filename=patch-rc.conf
:Content-Description: rc.conf
:
:--- src/etc/defaults/rc.conf.orig	Wed Feb 25 18:58:46 2004
:+++ src/etc/defaults/rc.conf	Sun Mar 14 15:02:57 2004
:@@ -95,8 +95,13 @@
: 				# NOTE: this violates the TCP specification
: icmp_drop_redirect="NO" 	# Set to YES to ignore ICMP REDIRECT packets
: icmp_log_redirect="NO"		# Set to YES to log ICMP REDIRECT packets
:+auto_ifconfig=YES		# configure all available network interfaces
: network_interfaces="auto"	# List of network interfaces (or "auto").
:+flushroutes=YES			# Flush routes in /etc/rc.d/network stop
: cloned_interfaces=""		# List of cloned network interfaces to create.
:+ip6mode=host			# host, autohost or router advertisements
:+ip6sitelocal=NO			# IPv6 site local addresses
:+rtsol=NO   rtsol_flags="-a"     # For ip6mode=autohost
: #cloned_interfaces="gif0 gif1 gif2 gif3" # Pre-cloning GENERIC config.
: ifconfig_lo0="inet 127.0.0.1"	# default loopback device configuration.
: #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.
:-- 
:dheeraj





More information about the Submit mailing list