On Saturday, May 20, 2006 @ 7:16 PM, Carlos Robinson wrote:
The Saturday 2006-05-20 at 18:31 -0500, Peter Van Lone wrote:
yes, that caused me concern, too ... but it is as you said. Chkconfig or the runlevel editor read them, despite that they *appear* to be commented. At least, that is how it has worked on the 2 services I have now setup for testing.
Don't worry. They are commented because, as the scripts are executables, those comments are ignored. But they are nevertheless interpreted by innserv.
You only need to use the correct format (the "begin init info" line till "end...".
The skeleton file has a lot of info.
- -- Cheers, Carlos Robinson
Ok, now it's making sense. So, you set up your new script using the skeleton and modify the appropriate lines in what appears as commented lines at the beginning of the script. Then, when you activate it in the runlevel editor, those lines get interpreted and the appropriate dependencies are set up at the same time it builds the K... and S... scipts. Do I have this right now? Greg Wallace