network still won't programs

Nick Gawronski nick at nickgawronski.com
Sat Sep 2 20:50:30 EDT 2006


Hi, Greg I put a shell script in /etc/network/if-up and it did not run
automatically.  I just went and editted /etc/init.d/networking and after
the ifup -a line I added /usr/local/bin/dns2go & and it worked ok.  I
don't know if that is the best way and if there is a better way to make a
program run in debian when the network starts please let me know.  I am
also wanting to know how to make a command execicute just before login
like in redhat /etc/rc.d/rc.local would do this put debian does not use
it.  How can I write a shell script with the commands to run just before
login starts such as removing .bash_history for all users and what command
would do that the quickest way?





More information about the Speakup mailing list