On 5/20/06, Greg Wallace
So, for example, does Default-Start 3 5 say to start it in runlevels 3 and 5? And as far as predecessors, would you not set that up by adding a line into .depend.start (and .depend.stop for the kills)?
I found some info about ".depend.start" in man init.d: There are two kinds of symbolic link: start links, which are called when entering a run level, and stop links, which are called when leav‐ ing a run level. Note that each service in the run levels 2, 3, 4, and 5 consists of a start and a stop link. Within SuSE boot concept a dif‐ ferential link scheme is used to be able to change a runlevel in com‐ parision with the former level. If parallel executing of the boot scripts is enabled (see /etc/syscon‐ fig/boot variable RUN_PARALLEL) then both master scripts uses the pro‐ gram startpar(8) which starts or stops multiple services in parallel. Startpar(8) will look for the files /etc/init.d/.depend.boot, /etc/init.d/.depend.start, and /etc/init.d/.depend.stop to get the dependencies for each service. The files will be written, beside the symbolic links in the boot and runlevel directories, by the program insserv(8). To avoid redundant starts when changing run levels, only those services are started which have no start link in the previous run level. And to avoid redundant stops when changing run levels, only those services are stopped which have no start link in the current level. To control this behaviour, the names of the scripts are added on the names of the start and stop links.