Am 10.08.2010 02:57, schrieb James Cloos:
> The runscript(8) src might provide useful clues.

Hi James,
i just took a look at the runscript code to generate the deptree, the comment 
looks like that:

/* This is a 6 phase operation
   Phase 1 is a shell script which loads each init script and config in turn
   and echos their dependency info to stdout
   Phase 2 takes that and populates a depinfo object with that data
   Phase 3 adds any provided services to the depinfo object
   Phase 4 scans that depinfo object and puts in backlinks
   Phase 5 removes broken before dependencies
   Phase 6 saves the depinfo object to disk
   */

So there is in fact some shellscript-calling involved.
The main question is, whether i try to reuse the named shell script and copy 
some portions of the openrc source, or whether i rewrite the deptree handling 
code as the openrc code would bloat the
systemd tree.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to