Re: Is Linux BSD or System V ?



On 2006-02-27, Dances With Crows <danSPANceswitTRAPhcrows@xxxxxxxxx> wrote:

Anyway, just about every Linux distro uses SysV-style init scripts
except Slackware. You can check for the presence or absence of
/etc/rc[0-6].d/ or /etc/runlevels/ ; if those are there, you've got SysV
style (or Gentoo style for /etc/runlevels/) init scripts.

I think even that statement is a bit misleading. Even Slackware now
uses scripts which take start|stop|restart arguments, just like the
typical SysV-style scripts do. I think the big difference is not in the
scripts themselves, but how they're called: Slackware calls them
directly from rc.M, which is run by init in runlevels 2345; most other
distros which people call "SysV-style" do what you describe above with
/etc/rc[0-6].d/ .

And, just to get a little crazier, Slackware does provide mechanisms for
running startup scripts SysV-style, if you need it. :)

--keith

--
kkeller-usenet@xxxxxxxxxxxxxxxxxxxxxxxxxx
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
see X- headers for PGP signature information

.



Relevant Pages

  • Re: Working my way into the wonderful world of BSD
    ... >1) is there any equivalent to init scripts in freebsd? ... I think Slackware uses a ...
    (freebsd-newbies)
  • Re: which distro for an experienced Linux-er
    ... to know if Slackware fulfills my intentions? ... gentoo bootstraps then connects to a source repository to recompile ... almost everything by using a set of build scripts. ... has SysV startup, too, but it is not the primary mechanism for starting ...
    (comp.os.linux.misc)
  • Re: [SLE] Reset LPT Port on Startup
    ... The newer init scripts also incorporate the following: ... # Required-Start: $network $syslog ...
    (SuSE)
  • Re: restart server with kill or init script
    ... I neglected to install the init scripts and could not restart my server ... Yes, lighttpd does have init scripts, which if you compile the software manually, you have to install those scripts in a separate step. ...
    (comp.os.linux.misc)
  • Re: restart server with kill or init script
    ... I neglected to install the init scripts and could not restart my server ... You should have a look if there is such a script for your lighttpd ...
    (comp.os.linux.misc)