~jamesodhunt/upstart/allow-multiple-cmdline-confdirs-with-tests

Viewing all changes in revision 1472.

  • Committer: James Hunt
  • Date: 2013-04-02 10:19:07 UTC
  • Revision ID: james.hunt@ubuntu.com-20130402101907-63l6rzk3tlke025d
* init/main.c:
  - main(): Allow Session Init to accept multiple --confdir values,
    which replace all built-in values (behaviour required for testing).
  - handle_confdir(): Operate on conf_dirs array rather than single
    conf_dir value.
  - conf_dir_setter(): Command-line setter function to add configuration
    file directories to conf_dirs array.
* init/man/init.8: Update on --confdir behaviour.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: