* Debian equivalent
@ Dan Murphy
` Levi Campbell
` (4 more replies)
0 siblings, 5 replies; 19+ messages in thread
From: Dan Murphy @ UTC (permalink / raw)
To: speakup
Can anyone tell me if there is a debian equivalent of /etc/rc.d/rc.local?
this is usually where you might store certain local settings in other
distros.
I want to use it to pass a few parameters to Speakup at boot time.
thanks.
Greenwood Bbs, Lake Placid, NY
telnet://greenwoodbbs.homeunix.com
telnet://greenwoo.synchro.net
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
Debian equivalent Dan Murphy
@ ` Levi Campbell
` Dan Murphy
` Gregory Nowak
` (3 subsequent siblings)
4 siblings, 1 reply; 19+ messages in thread
From: Levi Campbell @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
what distro are you using?
On 3/20/06, Dan Murphy <danmint@verizon.net> wrote:
> Can anyone tell me if there is a debian equivalent of /etc/rc.d/rc.local?
> this is usually where you might store certain local settings in other
> distros.
> I want to use it to pass a few parameters to Speakup at boot time.
> thanks.
>
> Greenwood Bbs, Lake Placid, NY
> telnet://greenwoodbbs.homeunix.com
> telnet://greenwoo.synchro.net
>
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
Debian equivalent Dan Murphy
` Levi Campbell
@ ` Gregory Nowak
` Dan Murphy
` Charles Hallenbeck
` (2 subsequent siblings)
4 siblings, 1 reply; 19+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nope, you've got to role your own. Chuck Hallenbeck posted a while
back a nice way of making your own equivalent of rc.local under
debian, which is working very nicely here on 2 machines. It's in the
list archives. If you can't find it, then I can pass on Chuck's post
to you privately, or maybe Chuck himself can do that.
Greg
On Mon, Mar 20, 2006 at 08:48:31PM -0500, Dan Murphy wrote:
> Can anyone tell me if there is a debian equivalent of /etc/rc.d/rc.local?
> this is usually where you might store certain local settings in other
> distros.
> I want to use it to pass a few parameters to Speakup at boot time.
> thanks.
>
> Greenwood Bbs, Lake Placid, NY
> telnet://greenwoodbbs.homeunix.com
> telnet://greenwoo.synchro.net
>
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
- --
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.2.2 (GNU/Linux)
iD8DBQFEH2J77s9z/XlyUyARAqSVAKCaKHikkTEkP7Wty9lXOzAysdB3YACfday6
GUfRbuKl3YGUVCARsZidOXg=
=jfJy
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
` Levi Campbell
@ ` Dan Murphy
0 siblings, 0 replies; 19+ messages in thread
From: Dan Murphy @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
I had been using Slackware, but on this machine I installed Debian and
some things are different.
----- Original Message -----
From: "Levi Campbell" <levicc00123@gmail.com>
To: "Speakup is a screen review system for Linux."
<speakup@braille.uwo.ca>
Sent: Monday, March 20, 2006 8:56 PM
Subject: Re: Debian equivalent
> what distro are you using?
>
> On 3/20/06, Dan Murphy <danmint@verizon.net> wrote:
> > Can anyone tell me if there is a debian equivalent of
/etc/rc.d/rc.local?
> > this is usually where you might store certain local settings in other
> > distros.
> > I want to use it to pass a few parameters to Speakup at boot time.
> > thanks.
> >
> > Greenwood Bbs, Lake Placid, NY
> > telnet://greenwoodbbs.homeunix.com
> > telnet://greenwoo.synchro.net
> >
> >
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
` Gregory Nowak
@ ` Dan Murphy
0 siblings, 0 replies; 19+ messages in thread
From: Dan Murphy @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Hi Greg.
well I had a peak at the archives, and there's a lot there, and I also
don't know quite what I'm looking for as far as subject. If you could
send me that off list, I'd appreciate it.
thanks.
----- Original Message -----
From: "Gregory Nowak" <greg@romuald.net.eu.org>
To: "Speakup is a screen review system for Linux."
<speakup@braille.uwo.ca>
Sent: Monday, March 20, 2006 9:18 PM
Subject: Re: Debian equivalent
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Nope, you've got to role your own. Chuck Hallenbeck posted a while
> back a nice way of making your own equivalent of rc.local under
> debian, which is working very nicely here on 2 machines. It's in the
> list archives. If you can't find it, then I can pass on Chuck's post
> to you privately, or maybe Chuck himself can do that.
>
> Greg
>
>
> On Mon, Mar 20, 2006 at 08:48:31PM -0500, Dan Murphy wrote:
> > Can anyone tell me if there is a debian equivalent of
/etc/rc.d/rc.local?
> > this is usually where you might store certain local settings in other
> > distros.
> > I want to use it to pass a few parameters to Speakup at boot time.
> > thanks.
> >
> > Greenwood Bbs, Lake Placid, NY
> > telnet://greenwoodbbs.homeunix.com
> > telnet://greenwoo.synchro.net
> >
> >
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> - --
> 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.2.2 (GNU/Linux)
>
> iD8DBQFEH2J77s9z/XlyUyARAqSVAKCaKHikkTEkP7Wty9lXOzAysdB3YACfday6
> GUfRbuKl3YGUVCARsZidOXg=
> =jfJy
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
Debian equivalent Dan Murphy
` Levi Campbell
` Gregory Nowak
@ ` Charles Hallenbeck
` Charles Hallenbeck
` Dan Murphy
` John Heim
` Jim Wantz
4 siblings, 2 replies; 19+ messages in thread
From: Charles Hallenbeck @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Dan,
Nope, no rc.local. Here is what I did:
Go into /etc/init.d and create a script containing whatever you want to
do in an rc.local. I called mine "mystartups" but I suppose you could
even call it "rc.local" if you want. Remember that you do not yet have a
reasonable path established when this script will execute.Give it
execute permissions.
Next, also as root, run update-rc.d to add this script to your normal
bootup scripts. You can specify which runlevels it should start in or
stop in, or just use the Debian defaults, which will be okay. But you
have to give it a priority, 99 will make it the last thing to execute on
startup. You can check the update-rc.d man page for details, but as near
as I can recall without checking, it might look like this:
update-rc.d mystartups defaults 99
You now have a bunch of other scripts in your varius runlevel
directories of the form K99mystartups and S99mystartups which will kill
or start the mystartups script as appropriate. Actually it doesn't make
sense to kill such a script, it will just run it again anyway, unless
within your script you check to see what parameter it was run with.
HTH
Chuck
- --
The Moon is Waning Gibbous (63% of Full)
Get downloads from http://www.mhcable.com/~chuckh
and remember, INFORMATION WANTS TO BE FREE!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEH/4gXnuiIOyDVQURAgfnAJ9KCGYKGkyTxcwfz6hYhfEIk463SQCfYQHc
iS6mAp4wTRRkbp3pnTO5yyw=
=O1lU
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
` Charles Hallenbeck
@ ` Charles Hallenbeck
` Gregory Nowak
` Dan Murphy
` Dan Murphy
1 sibling, 2 replies; 19+ messages in thread
From: Charles Hallenbeck @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
One more thing about using a script such as mystartups (or rc.local) to
start your software speech.
Chances are that speech-dispatcher will already be running when this
script executes, since it has its own startup script in /etc/init.d with
a lower priority. But what I did in my script was to "renice -5" the
already running copy. It turns out that Debian has a very handy
utility called "pidof" that returns the pid of a running program, so my
command to change the priority of speech-dispatcher looks like this:
renice -5 `pidof speech-dispatcher`
and you are in business. Whatever script you use to manage your speakup
speech output should be sure to run speechd-up with "nice 5" so that
speech-dispatcher will always run with a slightly higher priority than a
normal application, and speechd-up will always run with a slightly lower
priority. Negative numbers here mean higher priority, positive numbers
mean lower priority. I guess that is why they call it "nice-ness" The
nicer it is, the lower the priority. The nastier it is, the higher the
priority.
There is a speakwith script on my web site that you might like to take a
look at. It assumes speech-dispatcher has already been run, but does
everything else for you.
Chuck
- --
The Moon is Waning Gibbous (63% of Full)
Get downloads from http://www.mhcable.com/~chuckh
and remember, INFORMATION WANTS TO BE FREE!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEIAFXXnuiIOyDVQURAkQSAJ9+i9QVpvZumEl74CmsZmnky0VQzwCgtnjX
pNXKT+x5JbZJDY5LVIJHEF4=
=5LZ3
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
` Charles Hallenbeck
@ ` Gregory Nowak
` Charles Hallenbeck
` Dan Murphy
1 sibling, 1 reply; 19+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Actually, pidof isn't specific to debian, it's simply a symlink to
killall in most cases, which killall checks to see how it was
called. I notice though that debian's pidof is symlinked to killall5,
though there is no killall man page in chapter 5, and I'm not sure how
killall5 and killall differ, assuming that they do differ.
Just wondering though Chuck, what priority do you use for speechd-up?
Greg
On Tue, Mar 21, 2006 at 08:36:23AM -0500, Charles Hallenbeck wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> One more thing about using a script such as mystartups (or rc.local) to
> start your software speech.
>
> Chances are that speech-dispatcher will already be running when this
> script executes, since it has its own startup script in /etc/init.d with
> a lower priority. But what I did in my script was to "renice -5" the
> already running copy. It turns out that Debian has a very handy
> utility called "pidof" that returns the pid of a running program, so my
> command to change the priority of speech-dispatcher looks like this:
>
> renice -5 `pidof speech-dispatcher`
>
> and you are in business. Whatever script you use to manage your speakup
> speech output should be sure to run speechd-up with "nice 5" so that
> speech-dispatcher will always run with a slightly higher priority than a
> normal application, and speechd-up will always run with a slightly lower
> priority. Negative numbers here mean higher priority, positive numbers
> mean lower priority. I guess that is why they call it "nice-ness" The
> nicer it is, the lower the priority. The nastier it is, the higher the
> priority.
>
> There is a speakwith script on my web site that you might like to take a
> look at. It assumes speech-dispatcher has already been run, but does
> everything else for you.
>
> Chuck
>
> - --
> The Moon is Waning Gibbous (63% of Full)
> Get downloads from http://www.mhcable.com/~chuckh
> and remember, INFORMATION WANTS TO BE FREE!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
>
> iD8DBQFEIAFXXnuiIOyDVQURAkQSAJ9+i9QVpvZumEl74CmsZmnky0VQzwCgtnjX
> pNXKT+x5JbZJDY5LVIJHEF4=
> =5LZ3
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
- --
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.2.2 (GNU/Linux)
iD8DBQFEIDwu7s9z/XlyUyARAgdUAJ9h30uuRn9MtvY2Q0lCr7eGKrssnQCfax8O
LC3PJHAGdm4YJFt6GkIVVPQ=
=RQ8X
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
` Gregory Nowak
@ ` Charles Hallenbeck
` Gregory Nowak
0 siblings, 1 reply; 19+ messages in thread
From: Charles Hallenbeck @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I use plus five for speechd-up and minus five for speech-dispatcher,
although I have not played around with them to see if something else
might work better. Only root can use minus numbers, but any user can use
plus numbers when doing nice or renice to set priorities.
Yes, I noticed that symlink think about pidof too, but I never noticed
the availability of pidof while using Slackware, and several Fedora
systems I help admin do not have it available either. It's a nice
shortcut, saves messing with ps and all its options.
- --
The Moon is Waning Gibbous (61% of Full)
Get downloads from http://www.mhcable.com/~chuckh
and remember, INFORMATION WANTS TO BE FREE!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEIEWcXnuiIOyDVQURAiTyAJ98xnstiTS331Sqk+lFuWomVEaNiwCfe0sY
R+LWoYVOMq8htOSQapLv1+I=
=ZHdZ
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
` Charles Hallenbeck
@ ` Gregory Nowak
` Steve Holmes
0 siblings, 1 reply; 19+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You're right that slackware doesn't come with a pidof symlink, though
it does work as advertised once you create it by hand, and point it at
killall.
Greg
On Tue, Mar 21, 2006 at 01:27:40PM -0500, Charles Hallenbeck wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I use plus five for speechd-up and minus five for speech-dispatcher,
> although I have not played around with them to see if something else
> might work better. Only root can use minus numbers, but any user can use
> plus numbers when doing nice or renice to set priorities.
>
> Yes, I noticed that symlink think about pidof too, but I never noticed
> the availability of pidof while using Slackware, and several Fedora
> systems I help admin do not have it available either. It's a nice
> shortcut, saves messing with ps and all its options.
>
> - --
> The Moon is Waning Gibbous (61% of Full)
> Get downloads from http://www.mhcable.com/~chuckh
> and remember, INFORMATION WANTS TO BE FREE!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
>
> iD8DBQFEIEWcXnuiIOyDVQURAiTyAJ98xnstiTS331Sqk+lFuWomVEaNiwCfe0sY
> R+LWoYVOMq8htOSQapLv1+I=
> =ZHdZ
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
- --
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.2.2 (GNU/Linux)
iD8DBQFEIE1H7s9z/XlyUyARAiIvAKCbo/3ZNPVFf0ZrdQ0tw+Fw+aRORgCgv15h
zmmOx4MrROXgeLEefQivXEw=
=gQkN
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
` Charles Hallenbeck
` Charles Hallenbeck
@ ` Dan Murphy
1 sibling, 0 replies; 19+ messages in thread
From: Dan Murphy @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
thanks chuck.
worked like a charm.
I'm using my windows machine (gasp!) to post mail to the list since I'm
going to take my time getting into Debian, but I'm sure I'll have more
questions eventually.
----- Original Message -----
From: "Charles Hallenbeck" <chuckh@hhs48.com>
To: "Speakup is a screen review system for Linux."
<speakup@braille.uwo.ca>
Sent: Tuesday, March 21, 2006 8:22 AM
Subject: Re: Debian equivalent
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Dan,
>
> Nope, no rc.local. Here is what I did:
<snip>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
` Charles Hallenbeck
` Gregory Nowak
@ ` Dan Murphy
` Steve Holmes
1 sibling, 1 reply; 19+ messages in thread
From: Dan Murphy @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
wel, I'm not to the point of running software speech yet, but thanks for
the tip.
----- Original Message -----
From: "Charles Hallenbeck" <chuckh@hhs48.com>
To: "Speakup is a screen review system for Linux."
<speakup@braille.uwo.ca>
Sent: Tuesday, March 21, 2006 8:36 AM
Subject: Re: Debian equivalent
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
` Dan Murphy
@ ` Steve Holmes
` Gregory Nowak
0 siblings, 1 reply; 19+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
I just looked on my slackware 10.1 box as root and found pidof to be
symlinked to killall5. The date on the file was some time in 2005 and I
don't recall ever creating it myself. I've recalled using the pidof
command various times in the past though. It is located in /sbin so a
normal user wouldn't find it.
On Tue, Mar 21, 2006 at 05:34:09PM -0500, Dan Murphy wrote:
> wel, I'm not to the point of running software speech yet, but thanks for
> the tip.
> ----- Original Message -----
> From: "Charles Hallenbeck" <chuckh@hhs48.com>
> To: "Speakup is a screen review system for Linux."
> <speakup@braille.uwo.ca>
> Sent: Tuesday, March 21, 2006 8:36 AM
> Subject: Re: Debian equivalent
>
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
- --
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
iD8DBQFEIXHYWSjv55S0LfERA4H3AKD3GXlNlpYEuh/e+jHfOkaXyuFxzgCeMdTs
ABB3Ldj/AWx3MaZuvIFNdLE=
=m5EG
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
Debian equivalent Dan Murphy
` (2 preceding siblings ...)
` Charles Hallenbeck
@ ` John Heim
` Jim Wantz
4 siblings, 0 replies; 19+ messages in thread
From: John Heim @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Somewhere out there on the internet deep in an archive is a message from me
asking the same question. What is the debian equivalent of the rc.local?
I'm going to giveyou the same answer someone gave me and -- fair warning --
when I got this answer I would not accept it.
You don't need an rc.local and, in fact, it's better to not have one.
Everything in your rc.local belongs somewhere else.
My initial reaction to the guy who told me that was "You are crazy". I
argued with him about it. For instance, what about my fire wall script?
What you can do, he pointed out, was trigger it in your ifup script so it
runs only if you actually have a network connection.
that's just an example. 'm not nearly the guru that this other guy was. So
if you give me examples, I'm probably not going to be able to convince you.
In fact, this other guy didn't convince me. What happened was that i
gradually figured out better ways to do things and eventually, the
rc.local I rigged up became empty.
The one thing I can tell you right away though is that to start daemons in
debian, you put a script in /etc/init.d/ and then create symlinks to it in
the directorys for different run levels. I did a quick google search for
docs on starting services in debian. I'm not saying this is the best
tutorial out there but it it looks pretty good:
http://www.servepath.com/support/debian_setupchecklist.htm
At 07:48 PM 3/20/2006, you wrote:
>Can anyone tell me if there is a debian equivalent of /etc/rc.d/rc.local?
>this is usually where you might store certain local settings in other
>distros.
>I want to use it to pass a few parameters to Speakup at boot time.
>thanks.
>
>Greenwood Bbs, Lake Placid, NY
>telnet://greenwoodbbs.homeunix.com
>telnet://greenwoo.synchro.net
>
>
>
>
>_______________________________________________
>Speakup mailing list
>Speakup@braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
` Steve Holmes
@ ` Gregory Nowak
0 siblings, 0 replies; 19+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hmm, I was probably creating it under an earlier version of slackware,
I'm fairly sure it wasn't 10.1 or later, however I do remember having
to create it under slackware by hand, and no, I wasn't logged in as a
normal user when looking for it that time in all the bin directories.
Greg
On Wed, Mar 22, 2006 at 08:48:43AM -0700, Steve Holmes wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
> I just looked on my slackware 10.1 box as root and found pidof to be
> symlinked to killall5. The date on the file was some time in 2005 and I
> don't recall ever creating it myself. I've recalled using the pidof
> command various times in the past though. It is located in /sbin so a
> normal user wouldn't find it.
>
- --
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.2.2 (GNU/Linux)
iD8DBQFEIace7s9z/XlyUyARAqakAKDYkzRfDqHXlKCpI3YEc/ANOfNmpgCfabkX
ZuHvZJnZ7a8j17lYD/G8+qk=
=A/k8
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
Debian equivalent Dan Murphy
` (3 preceding siblings ...)
` John Heim
@ ` Jim Wantz
4 siblings, 0 replies; 19+ messages in thread
From: Jim Wantz @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Hi Dan,
I don't recall anyone ever gave you a satisfactory answer--excuse me if
you have received one.
For almost an exact equivalent you could create a file in /etc/init.d and
call it local.
Then with your favorite editor you could put in whatever commands you
want.
Then you could issue the command:
update-rc.d local start 99 2 3 4 5 . stop 20 2 3 4 5 .
Pay attention to the output from update-rc.d. Remember to include the
periods in the above command--presumably they tell the update-rc.d
program when the start and stop actions end.
:Now, I would strongly discourage putting firewall commands in rc.local.
You want your firewall to execute before your eth0 or whatever comes up.
So, go cd /etc.
mkdir firewall
cp your_firewall_script /etc/firewall
cd /etc/init.d
ln -s /etc/firewall/your_firewall_script firewall
update-rc.d firewall start 07 2 3 4 5 . stop 90 2 3 4 5 .
Notice the low sequence number for starting.
Hope this helps.
Jim Wantz
On Mon, 20 Mar 2006, Dan Murphy wrote:
> Can anyone tell me if there is a debian equivalent of /etc/rc.d/rc.local?
> this is usually where you might store certain local settings in other
> distros.
> I want to use it to pass a few parameters to Speakup at boot time.
> thanks.
>
> Greenwood Bbs, Lake Placid, NY
> telnet://greenwoodbbs.homeunix.com
> telnet://greenwoo.synchro.net
>
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian equivalent
` Gregory Nowak
@ ` Steve Holmes
0 siblings, 0 replies; 19+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
I was digging around in some old mail here and I need to make a slight
correction here. My current version of Slackware (10.2) does have a
pidof command and it is symlinked inside the sysvinit package. It is
linked to killall5.
On Tue, Mar 21, 2006 at 12:00:23PM -0700, Gregory Nowak wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> You're right that slackware doesn't come with a pidof symlink, though
> it does work as advertised once you create it by hand, and point it at
> killall.
>
> Greg
>
>
> On Tue, Mar 21, 2006 at 01:27:40PM -0500, Charles Hallenbeck wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > I use plus five for speechd-up and minus five for speech-dispatcher,
> > although I have not played around with them to see if something else
> > might work better. Only root can use minus numbers, but any user can use
> > plus numbers when doing nice or renice to set priorities.
> >
> > Yes, I noticed that symlink think about pidof too, but I never noticed
> > the availability of pidof while using Slackware, and several Fedora
> > systems I help admin do not have it available either. It's a nice
> > shortcut, saves messing with ps and all its options.
> >
> > - --
> > The Moon is Waning Gibbous (61% of Full)
> > Get downloads from http://www.mhcable.com/~chuckh
> > and remember, INFORMATION WANTS TO BE FREE!
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.2.2 (GNU/Linux)
> >
> > iD8DBQFEIEWcXnuiIOyDVQURAiTyAJ98xnstiTS331Sqk+lFuWomVEaNiwCfe0sY
> > R+LWoYVOMq8htOSQapLv1+I=
> > =ZHdZ
> > -----END PGP SIGNATURE-----
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> - --
> 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.2.2 (GNU/Linux)
>
> iD8DBQFEIE1H7s9z/XlyUyARAiIvAKCbo/3ZNPVFf0ZrdQ0tw+Fw+aRORgCgv15h
> zmmOx4MrROXgeLEefQivXEw=
> =gQkN
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
- --
HolmesGrown Solutions
The best solutions for the best price!
http://holmesgrown.ld.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
iD8DBQFEx8mmWSjv55S0LfERAx3yAJ91xeGS5oTcQbqJ2fKbm8bejAnCZACgod7s
d+6XP96H5QqTg+KuIhI13k4=
=2hs2
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: debian equivalent
debian equivalent Jude DaShiell
@ ` Charles Hallenbeck
0 siblings, 0 replies; 19+ messages in thread
From: Charles Hallenbeck @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
/etc/profile is executed each time a user logs in, so it is not the same
as rc.local, which executes only on system startup, just once, no matter
what happens later.
On Tue, Mar 21, 2006 at 09:13:27PM -0500, Jude DaShiell wrote:
> There is /etc/profile if memory serves though using it to run programs is
> discouraged.
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
- --
The Moon is Waning Gibbous (54% of Full)
Get downloads from http://www.mhcable.com/~chuckh
and remember, INFORMATION WANTS TO BE FREE!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEIR24XnuiIOyDVQURAu6sAJ42e7XeBIihcK69brQuUuoCQSnrzgCglfNJ
cJ8hfeaRymsoz19GRqn0TFg=
=935Z
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 19+ messages in thread
* re: debian equivalent
@ Jude DaShiell
` Charles Hallenbeck
0 siblings, 1 reply; 19+ messages in thread
From: Jude DaShiell @ UTC (permalink / raw)
To: speakup
There is /etc/profile if memory serves though using it to run programs is
discouraged.
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
Debian equivalent Dan Murphy
` Levi Campbell
` Dan Murphy
` Gregory Nowak
` Dan Murphy
` Charles Hallenbeck
` Charles Hallenbeck
` Gregory Nowak
` Charles Hallenbeck
` Gregory Nowak
` Steve Holmes
` Dan Murphy
` Steve Holmes
` Gregory Nowak
` Dan Murphy
` John Heim
` Jim Wantz
debian equivalent Jude DaShiell
` Charles Hallenbeck
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).