[Petter Reinholdtsen 2010-03-22] > Do you need help with this? > > If you explain where in the boot sequence this init.d script need to > run, I can help with providing a patch. I do not know the package > myself, so I do not know the ordering details. Should it run before > the display managers (like gdm, kdm)? Is it logging to syslog? Does > it need files in /usr/? Is it using the network stack? Is it > interacting with the user during boot? Is there othe packages and > boot scripts it should run before or after? If you provide the > answers to these questions, I can propose a LSB header for a init.d > script. :)
Any hope of getting the answers to these questions from the package maintainer? Here is a draft header, based on my guesswork, that it should start after the syslog collector is active, and before the display managers. ### BEGIN INIT INFO # Provides: nvidia-glx # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # X-Start-Before: $x-display-manager xdm kdm gdm sdm wdm nodm ldm # X-Stop-After: $x-display-manager xdm kdm gdm sdm wdm nodm ldm # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: NVidia X driver initialization # Description: Load kernel drivers needed for the NVidia video cards ### END INIT INFO The $x-display-manager virtual facility is not handled by all display managers yet, so I list them all individually too to make sure the script is inserted before the scripts not yet providing the $x-display-manager facility. Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org