Subject: Re: /sbin/ifup
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-net
Date: 07/30/2003 12:24:38
On Tue, Jul 29, 2003 at 02:55:30PM -0400, Michael Richardson wrote:
|
| I created a shell script, /sbin/ifup (yes, inspired from Linux - but useful)
| which reads an /etc/ifconfig.* file and performs the operations. I find it
| very useful to do this after editing /etc/ifconfig.*, better than running
| sh /etc/rc.d/network restart, if you are remote.. but not screwing with
| the interface you are depending upon.
|
| I edited the /etc/rc.d/network script to call /sbin/ifup instead of
| doing things itself - the code is just copied.
|
| I'd like to commit this. Comments?
There's been a similar change in FreeBSD's use of the NetBSD rc.d code,
and is on my "rc.d todo list" to get around to.
Luke.