DragonFly BSD
DragonFly submit List (threaded) for 2004-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Mar 2004 09:03:55 -0800 (PST)

:--=-=-=
:
: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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]