On Thu, Sep 13, 2001 at 08:02:21PM -0700, Brooks Davis wrote:
> I'd like to commit something like the following patch to create clonable
> interfaces at boot so they can be configured the normal way.  Any one
> have comments or suggestions?
> 
Umm, how about extending the ${network_interfaces} functionality as follows.
For each ${network_interfaces} argument,

1.  if the value is `auto', add `ifconfig -l' to the list of interfaces
2.  for every other argument which is not in the `ifconfig -l' list
    (ifconfig -l | grep -wq ${ifn} returns non-zero), but in the
    list of cloners (ifconfig -L) creates the corresponding interface.


Cheers,
-- 
Ruslan Ermilov          Oracle Developer/DBA,
[EMAIL PROTECTED]           Sunbay Software AG,
[EMAIL PROTECTED]          FreeBSD committer,
+380.652.512.251        Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to