From 0aedc0286040b595119b4523d38ffd35b0018d6c Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 3 Mar 2008 10:33:42 +0000 Subject: Introduce LOCAL_PREFIX for a user maintained script location. --- src/includes/rc-misc.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/includes') diff --git a/src/includes/rc-misc.h b/src/includes/rc-misc.h index 1294ed28..2f4b3643 100644 --- a/src/includes/rc-misc.h +++ b/src/includes/rc-misc.h @@ -62,7 +62,14 @@ * /usr/pkg. */ #ifdef PKG_PREFIX # define RC_PKG_INITDIR PKG_PREFIX "/etc/init.d" -# define RC_PKG_CONFDIR PKG_PREFIX "/usr/local/etc/conf.d" +# define RC_PKG_CONFDIR PKG_PREFIX "/etc/conf.d" +#endif + +/* LOCAL_PREFIX is for user written stuff, which the base OS and package + * manger don't touch. */ +#ifdef LOCAL_PREFIX +# define RC_LOCAL_INITDIR LOCAL_PREFIX "/etc/init.d" +# define RC_LOCAL_CONFDIR LOCAL_PREFIX "/etc/conf.d" #endif #define RC_KSOFTLEVEL RC_SVCDIR "/ksoftlevel" -- cgit v1.2.3