[ltp] Network connection and bootup

S. Anthony Sequeira linux-thinkpad@linux-thinkpad.org
Sat, 08 Nov 2003 15:45:19 +0000


On Sat, 2003-11-08 at 15:04, Andr=E9 Wyrwa wrote:
> Hi,
>=20
> > I have thought about using another bootup script which starts and stops
> > the relevant daemons.  This script will go in start_fn and stop_fn in
> > /etc/pmcia/network.opts.  I had an abortive attempt at putting _all_
> > network daemon bootup scripts in this function, with pretty bad results=
.
>=20
> Why don't you let your scripts be called from ipup/ipdown?

These are Debian scripts yes?  They do not exists in my LFS systems.

> Issue with that is that is that they would be run on enabling any
> network connection (local net or ppp).
>=20
> But then you could probe inside the scripts for which kind of connection
> you have and act accordingly. For probing maybe the best thing would be
> to test for the current gateways ip?

Thanks, I will bear this in mind.  Probably Debian or Redhat methodology
right?

> Andre.
--=20
Tony