On Thu, 19 Apr 2001, Ola Theander wrote:
> Dear subscribers.
>
> I would like to know how to configure which services and daemons that should
> be started during boot. E.g. on my system there is a usbmgr service that I
> would like to disable.
Like others have said it all depends on which distribution you are using.
However the chances are you have a distro which uses the so called Sysvinit
scripts.
Most have the "actual" scripts in /etc/init.d or /etc/rc.d/init.d, they are
symbolicly linked to the runlevel directory normally /etc/rc.d/rcX.d where X is
a number.
So if one wishes to disable a certain daemon then one can do it as follows.
cd /etc/rc.d/rcX.d
mkdir org
mv S14.upsdaemon org
( i prefer this way as i then know what daemons i have stoped myself)
One cam always copy them back if one wants.
Now upon the next reboot the above "S14upsdaemon" will not get started.
It is of course a fictisous name.
You can start or stop any daemon or process operated by these scripts on a
running system by typing the path name of the script, ie.
/etc/rc.d/init.d/S14.upsdaemon
That will show you the command line options, mostly;
up | down | status | start | stop | restart
Example'
/etc/rc.d/init.d/S14.upsdaemon stop
If you have Redhat you can always use "linuxconf" to do that all for you, its
simply a question of which you prefer.
>
> Kind regards, Ola Theander
--
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs