On Tue, 29 Jun 2004 17:45:02 -0400
Michael Jennings <[EMAIL PROTECTED]> wrote:

> On Tuesday, 29 June 2004, at 14:15:39 (-0400),
> Bradley Reed wrote:
> 
> > Technically Slackware's init scripts are still SysV, but instead of
> > having numerous copies and symlinks of the init scripts in separate
> > directories for each run level, all the init scripts are in one
> > directory. I find it simpler, but to each his own.
> 
> SysV init dictates that all scripts exist in /etc/init.d/<name>.  The
> stuff in /etc/rc?.d/ are all symlinks maintained by chkconfig.  The
> runlevel distinction is important for init purposes in many cases,
> particularly when needing runlevel 2 rather than 3.

If that's the case, then I was wrong for Slackware has no /etc/init.d/ .
Slackware maintains its version of SysV compatibility via its
/etc/rc.d/rc.sysvinit script which runs the /etc/rc.d/rc?.d/K* and 
/etc/rc.d/rc?.d/S* scripts, if needed, for mainly binary packages which
install SysV init scripts. The rc.sysvinit maintains and exports the
RUNLEVEL and PREVLEVEL. There are no initscript symlinks though.

Out of curiosity, what is runlevel 2?  Slackware defines RL1 as
single-user, RL3 as multiuser-no X, and RL4 as multiuser with X. Most
other distros I've used use RL5 as multiuser with X. 



> And that's exactly why that system doesn't work in a true
> package-based distribution and why so many *.d configuration
> directories are popping up.  When dealing with packages, manual
> intervention is a no-no.  The Slackware way requires a lot of
> maintenance that chkconfig simplifies greatly.  It's far less error
> prone for a sysadmin (or a package %pre/%post scriptlet) to run
> "chkconfig --add httpd" and "chkconfig --del httpd" than to worry
> about adding and removing rc scripts from a file.

I can't address chkconfig as I am unfamiliar with it, but the
rc scripts need not be changed, simply chmod +x rc.httpd or chmod -x
rc.httpd. 

Brad



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to