-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. | | thanks! | Gale Stafford | |
Gale, AFAIK, you shouldn't have to start pump from an init script. /etc/network/interfaces should contain the lines: auto eth0 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: http://tldp.org/HOWTO/PCMCIA-HOWTO-4.html#ss4.3 for more information. HTH, - -- Mike Alborn <[EMAIL PROTECTED]> http://deandra.homeip.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9NuzPtZvnYYvO/VIRAuI9AJ9UtzW25/2wEtMsxSfIUy47bn1TOwCfXy6+ b4VmyF02HGk+nM/ba5QcFEE= =hPeZ -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]