public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* where is debian's version of /etc/rc.d/rc.local
@  Gregory Nowak
   ` Luke Davis
  0 siblings, 1 reply; 8+ messages in thread
From: Gregory Nowak @  UTC (permalink / raw)
  To: speakup

Hi all.

Coming from a slackware background, I am very much used to putting various things I want to run at boot into /etc/rc.d/rc.local. However, there is no /etc/rc.d directory, and I don't see anything close to rc.local in /etc/init.d. Can someone please explain?
Thanks.

Greg


-- 
Free domains: http://www.eu.org/ or mail dns-manager@EU.org



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: where is debian's version of /etc/rc.d/rc.local
   where is debian's version of /etc/rc.d/rc.local Gregory Nowak
@  ` Luke Davis
     ` Gregory Nowak
     ` Shaun Oliver
  0 siblings, 2 replies; 8+ messages in thread
From: Luke Davis @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

What I usually do, is look through that directory, and choose the file
which best fits the thing I want to run.
You can usually find something which makes sense.

On Wed, 26 Nov 2003, Gregory Nowak wrote:

> Hi all.
>
> Coming from a slackware background, I am very much used to putting various things I want to run at boot into /etc/rc.d/rc.local. However, there is no /etc/rc.d directory, and I don't see anything close to rc.local in /etc/init.d. Can someone please explain?
> Thanks.
>
> Greg
>
>
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: where is debian's version of /etc/rc.d/rc.local
   ` Luke Davis
@    ` Gregory Nowak
       ` Geoff Shang
     ` Shaun Oliver
  1 sibling, 1 reply; 8+ messages in thread
From: Gregory Nowak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

What directory do you mean, /etc/init.d?

The problem in this case is that there is no file which best fits the
thing I want to run. Specifically, I want to do
echo 16 >/proc/speakup/pitch
.

Greg


On Wed, Nov 26, 2003 at 11:01:33PM -0600, Luke Davis wrote:
> What I usually do, is look through that directory, and choose the file
> which best fits the thing I want to run.
> You can usually find something which makes sense.
> 

-- 
Free domains: http://www.eu.org/ or mail dns-manager@EU.org



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: where is debian's version of /etc/rc.d/rc.local
     ` Gregory Nowak
@      ` Geoff Shang
         ` Shaun Oliver
  0 siblings, 1 reply; 8+ messages in thread
From: Geoff Shang @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hi:

The convention for Debian is to put an entry in /etc/init.d and then put a
link in the appropriate rc directory.  So for speakup, I have
/etc/init.d/speakup.sh, and a link to it from /etc/rcS.d/S11speakup.sh.  I
have it here because it needs to be after S10checkroot.sh which mounts the
proc filesystem among other things.  I guess it could be S10speakup.sh as s
comes after c, but I felt making it 11 would make it clearer and also avoid
potential future problems.

Geoff.


-- 
Geoff Shang <gshang@uq.net.au>
ICQ number 43634701

Make sure your E-mail can be read by everyone!
http://www.betips.net/etc/evilmail.html

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: where is debian's version of /etc/rc.d/rc.local
   ` Luke Davis
     ` Gregory Nowak
@    ` Shaun Oliver
       ` Shaun: Thanks! Didn't know about update-rc.d. Hugh Hugh Esco
  1 sibling, 1 reply; 8+ messages in thread
From: Shaun Oliver @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

debian don't have an /etc/rc.d/rc.local as such,
what I did for speakup, was the following.
created a script in /etc/init.d anc called it naturally speakup.
then I did the following.
update-rc.d speakup start 20 1 2 3 4 5 . stop 20 0 1 6 .
the syntax for this is as follows.

update-rc.d script start n runlevels n n n . stop n runlevels n n n .
note the period at the end of the space separated list of run levels.
hth


-- 
Shaun Oliver
"Becareful of the toes u step on today, they maybe connected to the ass you have to kiss tomorrow!"

EMAIL: shaun_oliver@optusnet.com.au
ICQ: 76958435
YAHOO: blindman01_2000
MSN: blindman_2001@hotmail.com
AIM: captain nemo 200
IRC: irc.awesomechat.net:6666
IRCNICK: blindman
CHANNELS: #awesomeradio #mircpopup-magic #linux #help #ourworld #audiofile #mauisun


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: where is debian's version of /etc/rc.d/rc.local
       ` Geoff Shang
@        ` Shaun Oliver
  0 siblings, 0 replies; 8+ messages in thread
From: Shaun Oliver @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

I hope geoff me boy you used update-rc.d for this, that's what it's
there for,

-- 
Shaun Oliver
"Becareful of the toes u step on today, they maybe connected to the ass you have to kiss tomorrow!"

EMAIL: shaun_oliver@optusnet.com.au
ICQ: 76958435
YAHOO: blindman01_2000
MSN: blindman_2001@hotmail.com
AIM: captain nemo 200
IRC: irc.awesomechat.net:6666
IRCNICK: blindman
CHANNELS: #awesomeradio #mircpopup-magic #linux #help #ourworld #audiofile #mauisun


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Shaun:  Thanks!  Didn't know about update-rc.d.  Hugh
     ` Shaun Oliver
@      ` Hugh Esco
         ` Thomas Stivers
  0 siblings, 1 reply; 8+ messages in thread
From: Hugh Esco @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Shaun:

Thank you for sharing that.  What a great idea.  I used to do this the old
fashioned way with a series of ln -s commands interspersed with cd's.

On Thu, 27 Nov 2003, Shaun Oliver wrote on the Speakup list:
> created a script in /etc/init.d anc called it naturally speakup.
> then I did the following.
> update-rc.d speakup start 20 1 2 3 4 5 . stop 20 0 1 6 .

I immediately braught up the man page for update-rc.d and am happy to see
it on my installation, as well.  Thanks again.

-- Hugh


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Shaun:  Thanks!  Didn't know about update-rc.d.  Hugh
       ` Shaun: Thanks! Didn't know about update-rc.d. Hugh Hugh Esco
@        ` Thomas Stivers
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Stivers @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

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

On 11/30/03  2:45 PM -0800, Hugh Esco wrote:
> On Thu, 27 Nov 2003, Shaun Oliver wrote on the Speakup list:
> > created a script in /etc/init.d anc called it naturally speakup.
> > then I did the following.
> > update-rc.d speakup start 20 1 2 3 4 5 . stop 20 0 1 6 .

You may want to change the 1 2 3 4 5 to S which will load speakup even
earlier. I have it run as just about the first thing after init.

- -- 
Unix is a user friendly operating system. It just picks its friends more
carefully than others.
Thomas Stivers	e-mail: stivers_t@tomass.dyndns.org	gpg: 45CBBABD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/yw5C5JK61UXLur0RAvepAJ4mKrcznZZ7DiVMDQ5VwT3/fE/iFQCeMRJ1
fKfrIzewLyuwnlpOmsqdbaI=
=Zy10
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 where is debian's version of /etc/rc.d/rc.local Gregory Nowak
 ` Luke Davis
   ` Gregory Nowak
     ` Geoff Shang
       ` Shaun Oliver
   ` Shaun Oliver
     ` Shaun: Thanks! Didn't know about update-rc.d. Hugh Hugh Esco
       ` Thomas Stivers

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).