Craig Brozefsky <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] (Marco d'Itri) writes: > > > On May 19, Craig Brozefsky <[EMAIL PROTECTED]> wrote: > > > > >This would make is easier for programs like ipmasq or leafnode or > > >whatever to put hooks to start themselves up or shut themselves down > > >as an itnerface goes up or down. Perhaps we even do soemthing like: > > > > > >/etc/network/eth0.postup.leafnode > > >/etc/network/eth0.postup.fetchmail > > With this scheme scripts can't be easily disabled. > > mv /etc/network/eth0.postup.leafnode /etc/network/off.eth0.postup.leafnode
Geeze, if we were going to do this, why wouldn't we just use run-parts(8), just like we do for /etc/ppp/ip-{up,down}.d/ ? -- .....Adam Di [EMAIL PROTECTED]<URL:http://www.onShore.com/>