tech-userlevel archive

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

Re: rc.d/rndctl

>> [...]
> something like this would be nice for ifconfig_ifX too, to not
> require an /etc/ifconfig.ifX file if multiple lines are needed.

I've done two things which together cover most of that.

One is ifalias_xxN_M, which provide alias addresses.

The other is ifsetup_pre_xxN and ifsetup_post_xxN, which are shell
commands to be run before and after configuring xxN.

But, yes, I agree that anything which can be done via /etc/ifconfig.*
should be doable via suitable rc.conf variable settings.  (This isn't
quite what you said, but it seems to me like the simplest precise
statement of what appears to me to be behind what you did say.)

/~\ The ASCII                           der Mouse
\ / Ribbon Campaign
 X  Against HTML      
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index