From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461) Description of problem: To add an option to chkconfig to enable a file/script to be converted and used in /etc/rc[0-6].d Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.man chkconfig 2. 3. Actual Results: There are no results currently for this type option Expected Results: With an option in chkconfig a user can convert his script/file so that it can be included with the rest of the scripts in /etc/init.d/ directory. Additional info: This could be done somehow by the command with option checking for the beginning of the file (maybe for something in particular if needed) and adding the default information. Then it would search for the bottom of the file and add there the appropriate information. This could be, for instance, default run levels of 345 to start/remove from as well as a restart/reload or whatever.
That's not the correct way to go about this; the correct way is to have a decent documentation example so users can write their own scripts...
So your recommending a good documented template be setup/used for users to do this. Then is that done? How bout keeping this open and doing that then at least or stashing it away as a TODO?
ping
Not done due to lack of time.
Ok, but wanted to do a status check as it had been over a year since last reply.
anything ever came of this as of yet?
No.
This is probably best handled in the sysvinitfiles portion of initscripts, not in chkconfig itself.