make service look in /etc/system.conf.d/<progname> first for config file.

This makes it easier to
  - have non-base system drivers (get clobbered by global system.conf)
  - have drivers as packages (can't touch global system.conf)
  - make configs part of the drivers/servers instead of in global file
    (makes system parts more self-contained)
This commit is contained in:
Ben Gras
2010-08-31 14:33:31 +00:00
parent 1f2054c89c
commit b1847ae244
3 changed files with 32 additions and 5 deletions

View File

@@ -21,5 +21,6 @@
#define _PATH_BSHELL "/bin/sh"
#define _PATH_SERVICE "/bin/service"
#define _PATH_SYSTEM_CONF "/etc/system.conf"
#define _PATH_SYSTEM_CONF_DIR "/etc/system.conf.d"
#endif