Put some dir locations in rc.h so that 3rd party apps can become awware of them.

This commit is contained in:
Roy Marples
2008-03-28 10:46:12 +00:00
parent 11e33e81c8
commit ee4e861796
8 changed files with 59 additions and 57 deletions

View File

@ -49,11 +49,11 @@
#include "rc.h"
#include "rc-misc.h"
#define PROFILE_ENV SYSCONFDIR "/profile.env"
#define PROFILE_ENV RC_SYSCONFDIR "/profile.env"
#define SYS_WHITELIST RC_LIBDIR "/conf.d/env_whitelist"
#define USR_WHITELIST SYSCONFDIR "/conf.d/env_whitelist"
#define RC_CONF SYSCONFDIR "/rc.conf"
#define RC_CONF_OLD SYSCONFDIR "/conf.d/rc"
#define USR_WHITELIST RC_SYSCONFDIR "/conf.d/env_whitelist"
#define RC_CONF RC_SYSCONFDIR "/rc.conf"
#define RC_CONF_OLD RC_SYSCONFDIR "/conf.d/rc"
#define PATH_PREFIX RC_LIBDIR "/bin:/bin:/sbin:/usr/bin:/usr/sbin"