Re: BSD vs SysV init scripts

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: plug-discuss
Subject: Re: BSD vs SysV init scripts
On Sun, 2005-01-23 at 17:02 -0700, Siri Amrit Kaur wrote:
> On Sunday 23 January 2005 04:35 pm, Rod Heyd kindly wrote:
>
> > As for the whole init.d and rc*.d heirarchy:
> >
> > Think of it this way: all of the scripts that start (or stop) all
> > of your services are located in the init.d directory. Now each run
> > level can be set up to start (or stop) any service you like. This
> > is set up by the symlinks in the rc*.d folders. So, for example,
> > when you switch to
> > runlevel 5, all the symlinks in rc5.d get run. The symlinks
> > starting with a K specify services that will be stopped, Symlinks
> > starting with an S specify services that will be started, and the
> > numbers after the K or S, specify the order in which the service
> > will be
> > started/killed.
>
> So would I just put a K in front of any service that I don't want to
> run?

----
NO - chkconfig servicename off

K is for Kill
S is for Start

this isn't that obtuse

chkconfig --list sendmail (shows you its status on all runlevels)

man chkconfig - why are you so resistant?
----
> > I have to say that I think this is really funny. I know a lot of
> > BSD people that just can't seem to grok SysV init (and I admit that
> > I had similar troubles when I went from adminning slack boxes to
> > Solaris and redhat boxes). It is a different sort of beast, but I
> > also think it's a lot more logical once you understand how it
> > works. Once I figured it out, I realized instantly that SysV was a
> > *lot* better, and a lot easier to maintain and update.
>
> Hmmmmm.....
>
> People on this list have asked me how I can use Slackware when I'm so
> commandline-challenged and such a slow learner. I think it's because
> it's so simple and logical, and I'm just too dumb to use any of the
> "easier" distros :-p

----
it's about what you know and what you don't know. Slackware is what you
started with so you understand it. It doesn't make it better or worse,
just what you have gotten used to.

SysV stuff has taken over because it actually makes so much sense and
makes administration easier.

Guys learn at an early age that if they are going to urinate outdoors,
you always have to take into account which way the wind is blowing. On a
sysV system, you merely need to know the very few commands of chkconfig
to make it sing. It is probably the simplest of all administration
commands ever created for Unix/Linux. Maybe it's a guy thing.

Craig

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss