> On Mon, May 17, 1999 at 05:22:37PM -0400, [EMAIL PROTECTED] wrote: > > I looked at the code (have not run it yet). > > > > Nice. Well documented, clean. The design seems sound. An up/down > > section is also handy. > [..] > > IMNSHO, any replacement for /etc/init.d/network must be able to allow > config files which "do stuff" on start or stop of the service... Meaning > I should be able to give it something that will be run before or after > the initial ifconfig-and-route-type stuff has been done. At least after > for sure. It's gotta be able to handle things like DHCP configuration > too.
With my net script you can do that. Put your extra commands in the net_up() and net_down() functions of each config file and they will be executed automatically by the net command. Maybe we could handle also before_net_up() and after_net_down() functions. If someone needs them I will think about adding these functionalities. -- Massimo Dal Zotto +----------------------------------------------------------------------+ | Massimo Dal Zotto email: [EMAIL PROTECTED] | | Via Marconi, 141 phone: ++39-0461534251 | | 38057 Pergine Valsugana (TN) www: http://www.cs.unitn.it/~dz/ | | Italy pgp: finger [EMAIL PROTECTED] | +----------------------------------------------------------------------+