LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   sysV vs bsd starting scripts (https://www.linuxquestions.org/questions/linux-from-scratch-13/sysv-vs-bsd-starting-scripts-23033/)

sqn 06-10-2002 03:21 AM

sysV vs bsd starting scripts
 
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 08: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 08: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.

sqn 06-16-2002 01:42 AM

thx 2 all


All times are GMT -5. The time now is 04:49 AM.