From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linserver.romuald.net.eu.org ([63.228.150.209]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1GJgfh-0000L1-00 for ; Sat, 02 Sep 2006 21:21:13 -0400 Received: (qmail 2209 invoked by uid 1000); 2 Sep 2006 18:20:42 -0700 Date: Sat, 2 Sep 2006 18:20:41 -0700 From: Gregory Nowak To: "Speakup is a screen review system for Linux." Subject: Re: network still won't programs Message-ID: <20060903012041.GA1415@localhost.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.romuald.net.eu.org/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.8rc1 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 01:21:13 -0000 -----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: 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@EU.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE+i3o7s9z/XlyUyARAgL/AKDNpwH/Nr4zm7AxVlltUcBQJWggnwCgit7t kcLlZufb41wiXrCORYLqai4= =TInE -----END PGP SIGNATURE-----