Subject: Re: rc.conf vs interface aliases
To: None <tech-net@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-net
Date: 01/18/2006 17:01:03
>> I'm currently leaning towards a local script in rc.d, with
>> REQUIRE:root and BEFORE:network, which rewrites /etc/ifconfig.* and
>> /etc/pf.conf based on /etc/ifnames (or whatever). But that seems
>> pretty gross,
> Why?
It's rewriting config files on every boot.
> The good thing about rc.d is that you can do that cleanly.
Sure, the rc.d side of it is relatively clean, as such things go. It's
the other side of it - rewriting /etc/ifconfig.* and /etc/pf.conf (and
possibly others, though I know of no others yet) - that I find gross.
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B