network still won't programs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux