Re: [PATCH] Simple parallellized boot sequence (and a plea for LSB complience)
* Petter Reinholdtsen
| Add a block like this in the init.d script (example based on
| xdebconfigurator):
|
| ### BEGIN INIT INFO
| # Provides: xdebconfigurator
| # Required-Start: $syslog
| # Required-Stop: $syslog
| # Should-Start: $local_fs
| # Should-Stop: $local_fs
| # Default-Start: 2 3 4 5
| # Default-Stop: 0 1 6
| # Short-Description: Generate xfree86 configuration at boot time
| # Description: Preseed X configuration and use dexconf to
| # generate a new configuration file.
| ### END INIT INFO
|
| All sections except the description-sections are space separate lists.
|
| Provides should list the name of this service, normally the script
| name but might also list the name of services it "replaces".
|
| Required-Start are services needed to start this service. These
| services must start before this service. Required-Stop are services
| used by this service, and this service should stop before the listed
| services are stopped.
This doesn't handle the case of dynamic dependencies:
If you have an USB mouse, you need to have the driver for it loaded
before starting gdm (or the boot will fail), if it uses Xdmcp for
connecting to a terminal server, it will need networking to be up (and
so on).
--
Tollef Fog Heen ,''`.
UNIX is user friendly, it's just picky about who its friends are : :' :
`. `'
`-
Reply to: