RE: Scripts for /etc/init.d or /etc/rc.d
"Shprentz, Joel [C] " <[email protected]> Mon, 9 Jun 2003 15:18:13 -0400
| Newsgroups | gmane.comp.sysutils.ark.devel |
|---|---|
| Message-ID | <068CC65B1509FA4D89CB2E7509C5E7B99A2097@CLUWSH04.gold.rtgold.nima.mil> |
Will P wrote: > > > Or better, it would simply supply a <chkconfig-fragment>, > > > maybe > > > > > > <chkconfig-fragment><table> > > > <entry name="service">samba</entry> > > > <entry name="spec">234 21 82</entry> > > > <entry name="description">Provide file service to > > > Windows hosts.</entry> > > > </table></chkconfig-fragment> > > > > > Should the "spec" entry follow the chkconfig program format > > as in your example? Or should the three parameters (run > > levels, start order, and stop order) be individual entries? > > I think you're probably right. I try not to be too > doctrinaire about such things, and let practice evolve > toward The Right Thing. Anyway that might give us... > > <chkconfig-fragment><table> > <entry name="service">samba</entry><table> > <entry name="levels">234</entry> > <entry name="on">21</entry> > <entry name="off">82</entry> > <entry name="description">Provide file service to Windows > hosts.</entry> > </table></entry> > </table></chkconfig-fragment> > > Make sense? Yes. Now the on and off priorities are directly accessible via Ark macros. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.