Re: adding scripts to /etc/init.d ?
-----BEGIN PGP SIGNED MESSAGE-----
Gale Stafford wrote:
| I want debian to start pump when it boots up, so that I dont have to
manually type "pump -i eth0" every time I boot my computer. I read this
morning that I need to add a script to /etc/init.d for pump. Also I
understand that I would need to create a link from that script to a file
in my /etc/rc3.d/ directory, since I boot into run level 3.
| Are there any good reading materials on the net that would help me
write a script to start/shutdown pump? I'm new to script-writing.
| Gale Stafford
AFAIK, you shouldn't have to start pump from an init script.
/etc/network/interfaces should contain the lines:
iface eth0 inet dhcp
and the Debian networking startup scripts should take care of the rest,
starting pump as necessary. If you're running a PCMCIA ethernet card,
then this configuration should be in /etc/pcmcia/network.opts - take a
look through the PCMCIA-HOWTO at:
for more information.
Mike Alborn <email@example.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com