network still won't programs

Gregory Nowak greg at romuald.net.eu.org
Sat Sep 2 21:20:41 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Sep 02, 2006 at 07:50:30PM -0500, Nick Gawronski wrote:
> Hi, Greg I put a shell script in /etc/network/if-up and it did not run

No wonder. You were supposed to put it in /etc/network/if-up.d, not in
/etc/network/if-up, that path doesn't even exist.

> 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

As long as it works for you, I wouldn't worry if it's the best way or not.

> 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?
> 
> 

Chuck wrote about this issue in a message to the list. I've got a copy
of it here, but rather then forwarding to the list what is already in
the archive, let me see if I can find it in the archive, and provide
the URL instead. Yup, here it is:

<http://speech.braille.uwo.ca/pipermail/speakup/2005-April/034025.html>

As for deleting the bash history, I seem to recall that this can be
enabled in a local profile, or in a per-user bashrc, but I'm not sure
about that.

Greg



- -- 
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

- --
Free domains: http://www.eu.org/ or mail dns-manager at EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE+i3o7s9z/XlyUyARAgL/AKDNpwH/Nr4zm7AxVlltUcBQJWggnwCgit7t
kcLlZufb41wiXrCORYLqai4=
=TInE
-----END PGP SIGNATURE-----




More information about the Speakup mailing list