FS#5880 - dependencies in initscripts
            Attached to Project:
            Arch Linux
            
Opened by héctor (hacosta) - Thursday, 23 November 2006, 07:56 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 08 March 2008, 18:21 GMT
          Opened by héctor (hacosta) - Thursday, 23 November 2006, 07:56 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 08 March 2008, 18:21 GMT
| 
 | Details
                    it would be nice if we could have a DEPENDENCIES=() field in
                    each script
                   | 
              This task depends upon
              
              
            
            
          
            Closed by  Roman Kyrylych (Romashka)
Saturday, 08 March 2008, 18:21 GMT
Reason for closing: Implemented
          
          
        Saturday, 08 March 2008, 18:21 GMT
Reason for closing: Implemented
 
                      
off the top of my head hal, and nfs.. besides hal's initscript already "implements this".. imho it would be better if there is a standard way.
In short - I like Héctor's solution! st_daemon() is redundant though.
There are some daemons that require other daemons to be running first, otherwise they won't work correctly.
For example, adsl requires network. avahi-daemon requires hal.