Hello
I want to analyse the dependencies amongst init scripts, this with the larger objective of re-ordering the /etc/rc[S2].d/S* links to maximise parallel processing to speed boot.
How can I find out what the variables in the init scripts' INIT INFO sections resolve to? Example
Code:
### BEGIN INIT INFO
# Provides: nfs-common
# Required-Start: $portmap $time
# Required-Stop: $time
# Default-Start: 2 3 4 5 S
# Default-Stop: 0 1 6
# Short-Description: NFS support files common to client and server
# Description: NFS is a popular protocol for file sharing across
# TCP/IP networks. This service provides various
# support functions for NFS mounts.
### END INIT INFO
What do $portmap and $time mean? Presumably there's a file listing all such values and what they are to be replaced by.
AFAIK the INIT INFO sections are not used on ubuntu 8.04, being intended for insserv and YaST (etc. sysv-config?) on other systems using the same init scripts, but they provide helpful dependency information.
Best
Charles