tech-misc archive

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

Re: why not have rcvars for all rc.d scripts? -- and downinterfaces and bootconf.sh not complete rc.d scripts




To: der Mouse <mouse%Rodents.Montreal.QC.CA@localhost>

Subject: Re: why not have rcvars for all rc.d scripts? -- and downinterfaces and bootconf.sh not complete rc.d scripts

From: David Brownlee <abs%NetBSD.org@localhost>

Date: Sun, 24 Feb 2008 09:39:21 +0000 (GMT)


On Sun, 24 Feb 2008, der Mouse wrote:


[...], I rather dislike the way it pushes configuration information
out into a bunch of little files instead of keeping it in rc.conf -
the aspect of that that bothers me most, personally, is network
interface configuration.)

you can put a lot of network config (at least what i use) in rc.conf.


Yes, but not if you have more than two addresses on an interface.  I
added code to 3.1's rc.d/network to handle ifalias_xxN_1,
ifalias_xxN_2, etc; if anyone wants it I'll be happy to share, but the
comment


        You can specify multiple aliases on the same ifaliase_<if>, var:

            ifconfig_fxp0=192.168.3.2
            ifaliases_fxp0="192.168.3.11 - 192.168.3.12 - 192.168.3.13 -"
            defaultroute=192.168.3.1

        That would have worked in 3.x, and I believe in 2.x also...

--
                David/absolute       -- www.NetBSD.org: No hype required --


Follow-Ups:

Re: why not have rcvars for all rc.d scripts? -- and downinterfaces and bootconf.sh not complete rc.d scripts
From: der Mouse


References:

re: why not have rcvars for all rc.d scripts? -- and downinterfaces and bootconf.sh not complete rc.d scripts
From: matthew green

Re: why not have rcvars for all rc.d scripts? -- and downinterfaces and bootconf.sh not complete rc.d scripts
From: der Mouse




Prev by Date: Re: why not have rcvars for all rc.d scripts? -- and downinterfaces and bootconf.sh not complete rc.d scripts

Next by Date: Re: why not have rcvars for all rc.d scripts? -- and downinterfaces and bootconf.sh not complete rc.d scripts

Previous by Thread: Re: why not have rcvars for all rc.d scripts? -- and downinterfaces and bootconf.sh not complete rc.d scripts

Next by Thread: Re: why not have rcvars for all rc.d scripts? -- and downinterfaces and bootconf.sh not complete rc.d scripts

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index