questions

Kerry Hoath kerry at gotss.net
Wed Mar 27 23:31:14 EST 2002


READ MY MESSAGES CAREFULLY!
all debian startup scripts to control services are located in
/etc/init.d
you will find the alsasound script there.
To have the service start at boot, you must create
symlinks in /etc/rc*.d directories for each runlevel you want the service running in.
the update-rc.d utility does this and it has a manpage.
To make alsasound start at boot you do
update-rc.d alsasound defaults
You do *not* create the symlinks by hand unless you need to do something
special.
All services should be started and stopped in the debian manner so that
they are cleanly shut down and started on a run level change.

If you are confused then re-read my previous message ont he subject.
I get the idea that you do not understand all of my messages, if
something is unclear ask, it appears that you read the top few
lines and read no further.
I do not post lengthy messages to the list for no reason, I post them
so they go into the archives and other users such as yourself can
referr to them for reference.
You should not edit rc.S because any changes you put there will be lost when
init is upgraded. Keep things in package
specific scripts so they will be left alone.
If you need to run hdparm or other things at boot, install the hwtools package and
edit /etc/init.d/hwtools
You can read about the init system in /etc/init.d/README

Regards, Kerry.
On Wed, Mar 27, 2002 at 09:38:03PM -0500, Igor Gueths wrote:
> Hi Kerry. Thanks for the informative message. But if I wanted to have it run a shell script, I suppose I could .profile it in for each user, but couldn't I just add it in on one of the runlevels such as rc2? Speaking of which alsasound didn't load when I rebooted my machine just to see if it would work. Looks like I'll have to check the rcs. 
> ----- Original Message ----- 
> From: Kerry Hoath <kerry at gotss.net>
> To: <speakup at braille.uwo.ca>
> Sent: Wednesday, March 27, 2002 8:30 PM
> Subject: Re: questions
> 
> 
> > Debian does not have /etc/rc.d
> > it has /etc/init.d containing
> > all the control scripts. there are also simlinks in /etc/rcn.d where n is the
> > runlevel so to stop something from loading just rm the
> > s and k symlink in the /etc/rcn.d directory.
> > To add in the alsa startup so it loads at boot just do
> > update-rc.d alsasound defaults
> > the alsasound script should allready exist in /etc/init.d/alsasound so it just means
> > update-rc.d needs to add symlinks into /etc/rcn.d
> > 
> > Regards, Kerry.
> > On Wed, Mar 27, 2002 at 05:48:07PM -0500, Igor Gueths wrote:
> > > Hi. How can I delete a user account? I have several user accounts on this box that are no longer used. I tred adduser --remove user and that didn't work. Would anyone have any suggestions on this? Also, for some odd reason, /etc/rc.d seems to be nonexistent on my Debian box. I know it would be easy to edit rc.local to put in my shell script to load the alsa modules, but I don't have rc.d to begin with. I was looking at adding it in as part of the init process at boot time. Also, do I really need rc.d to begin with? If I create an /etc/rc.d/rc.local with some commands, which file (s) would I have to edit to have rc.local be read at start-up? Thanks! 
> > > 
> > > 
> > > _________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at http://mail.yahoo.com
> > > 
> > > 
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup at braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > 
> > 
> > -- 
> > Kerry Hoath:  kerry at gotss.net kerry at gotss.eu.org or  kerry at gotss.spice.net.au
> > ICQ: 8226547 msn: kerry at gotss.net Yahoo: kerryhoath at yahoo.com.au
> > 
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 

-- 
Kerry Hoath:  kerry at gotss.net kerry at gotss.eu.org or  kerry at gotss.spice.net.au
ICQ: 8226547 msn: kerry at gotss.net Yahoo: kerryhoath at yahoo.com.au




More information about the Speakup mailing list