can anyone tell me the diference between the sysV and bsd init scripts...

i use slackware and it init throw the bsd version, now i have installed mandrake and it starts by sysV and i realy cant understatd the f****g scripts

if not at least give me an url where i could find it...
thx

lfslinux

06-10-2002 09:20 AM

Chapter 7 has a short introduction on how the scripts with LFS are used (the sysv ones). But the best way to understand how the scripts work is just sit down for an hour or two and read through the scripts and learn how it's done. After having installed an LFS system for potentially a few days I'm sure it's not that big a deal to take a bit more time to understand the scripts now.

lfslinux

06-10-2002 09:22 AM

Sorry hit enter too quickly...

Basically Sysv employs a runlevel scheme and what needs to be done in the runlevels depends on the symbolic links in the /etc/rc.d/rc?.d directories (where ? represents a runlevel). All this is controlled by the /etc/rc.d/init.d/rc script, so you need to start there. This rc script is the parent, or master script, that does all the runlevel changing and running the different scripts upon entering/leaving runlevels.