* network still won't programs @ Nick Gawronski ` Gregory Nowak 0 siblings, 1 reply; 5+ messages in thread From: Nick Gawronski @ UTC (permalink / raw) To: speakup 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? ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: network still won't programs network still won't programs Nick Gawronski @ ` Gregory Nowak ` Nick Gawronski 0 siblings, 1 reply; 5+ messages in thread From: Gregory Nowak @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. -----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@EU.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE+i3o7s9z/XlyUyARAgL/AKDNpwH/Nr4zm7AxVlltUcBQJWggnwCgit7t kcLlZufb41wiXrCORYLqai4= =TInE -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: network still won't programs ` Gregory Nowak @ ` Nick Gawronski ` Gregory Nowak [not found] ` <20060903054517.GB15650@cm.nu> 0 siblings, 2 replies; 5+ messages in thread From: Nick Gawronski @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. Hi, I also tried if-up.d and that did not work so I just put it in the networking script. That url did not work, I got a 404 error when I tried going to it. How do I view the archives past the current month? When I go to the archive page I just see the archives for the current month.On Sat, 2 Sep 2006, Gregory Nowak wrote: > -----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@EU.org > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (GNU/Linux) > > iD8DBQFE+i3o7s9z/XlyUyARAgL/AKDNpwH/Nr4zm7AxVlltUcBQJWggnwCgit7t > kcLlZufb41wiXrCORYLqai4= > =TInE > -----END PGP SIGNATURE----- > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: network still won't programs ` Nick Gawronski @ ` Gregory Nowak [not found] ` <20060903054517.GB15650@cm.nu> 1 sibling, 0 replies; 5+ messages in thread From: Gregory Nowak @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, Sep 02, 2006 at 08:37:32PM -0500, Nick Gawronski wrote: > That url did not work, I got a 404 error when I > tried going to it. Hmm, I don't know why that would be, since I just cut and paste the URL I provided from my post, and lynx went to it just fine. > How do I view the archives past the current month? > When I go to the archive page I just see the archives for the current > month. You select the links for author/subject/thread under the month you want to look at, at the top of the page. 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+jUY7s9z/XlyUyARAjxUAJwMFLJxcIWCWbifAUcatu+GLU26dgCgx7ay JfBzfWtGyiL09wwzs1wK/bw= =owYa -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20060903054517.GB15650@cm.nu>]
* Re: network still won't programs [not found] ` <20060903054517.GB15650@cm.nu> @ ` Gary Cramblitt 0 siblings, 0 replies; 5+ messages in thread From: Gary Cramblitt @ UTC (permalink / raw) To: speakup On Sunday 03 September 2006 01:45, Shane wrote: > On Sat, Sep 02, 2006 at 08:37:32PM -0500, Nick Gawronski wrote: > > Hi, I also tried if-up.d and that did not work so I just put it in the > > networking script. > > Hmm, that's odd, if-up.d should work. Make sure the script > has a name with no . for example, call dns2go.sh just > dns2go. I'm not sure but if ifup is using the run-parts > command on if-up.d, it tends to skip scripts with . in the > name. I think that's a feature btw. Script file must have executable attribute? -- Gary Cramblitt (aka PhantomsDad) ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
network still won't programs Nick Gawronski
` Gregory Nowak
` Nick Gawronski
` Gregory Nowak
[not found] ` <20060903054517.GB15650@cm.nu>
` Gary Cramblitt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).