init script type
I have a question about the init script type for slackware 13.37, What type is the init scripts in slackware 13.37?
Part of it looks like BSD and another part looks like System V. I also noticed that the parameters to run a init script is: Code:
{start | stop | restart | graceful | graceful-stop} |
Are you talking about the scripts in /etc/init.d?
If so, there're Code:
fubar-trona-/etc/rc.d/init.d: file * Code:
fubar-trona-/etc/rc.d/init.d: cat README.functions |
Slackware's approach to init-scripts is pretty much a hybrid between the bsd and sysv styles (IMO taking the best parts of both)
|
Quote:
To answer your first question, which seems me to be rather rhetorical, they are of Slackware type :cool: If you look at some you will see that the main ones (those which end in one digit or letter after the dot) are the "real" init scripts, whose purpose is to change the state of the system (its run level) as a whole. Others are scripts used to start or stop a particular service or set of services and can be run in the course of a change in the run level or independently. As fot the parameters, they are not the same in every script. To understand why, just look at some of them at random. |
Quote:
|
All times are GMT -5. The time now is 05:12 PM. |