aboutsummaryrefslogtreecommitdiff
path: root/src/includes
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-03 15:57:36 +0000
committerRoy Marples <roy@marples.name>2008-03-03 15:57:36 +0000
commitf3e90dddbfcf838b653846cce7fd2be479c68900 (patch)
treeafb1597f080d0687bc55746e7fd5c454f079dfe4 /src/includes
parent43f3c5480b66d354e32b483c95efba1e1adc017e (diff)
rc single and rc sysinit don't check sysvinit env vars in prefix.
Diffstat (limited to 'src/includes')
-rw-r--r--src/includes/rc-misc.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/includes/rc-misc.h b/src/includes/rc-misc.h
index 2f4b3643..56cfcfe0 100644
--- a/src/includes/rc-misc.h
+++ b/src/includes/rc-misc.h
@@ -41,21 +41,21 @@
# define LIB "lib"
#endif
-#ifndef PREFIX
-# define PREFIX ""
+#ifdef PREFIX
+# define RC_PREFIX PREFIX
#else
-# define HAVE_PREFIX
+# define RC_PREFIX
#endif
#define RC_LEVEL_BOOT "boot"
#define RC_LEVEL_DEFAULT "default"
-#define RC_LIBDIR PREFIX "/" LIB "/rc"
+#define RC_LIBDIR RC_PREFIX "/" LIB "/rc"
#define RC_SVCDIR RC_LIBDIR "/init.d"
#define RC_DEPTREE RC_SVCDIR "/deptree"
-#define RC_RUNLEVELDIR PREFIX "/etc/runlevels"
-#define RC_INITDIR PREFIX "/etc/init.d"
-#define RC_CONFDIR PREFIX "/etc/conf.d"
+#define RC_RUNLEVELDIR RC_PREFIX "/etc/runlevels"
+#define RC_INITDIR RC_PREFIX "/etc/init.d"
+#define RC_CONFDIR RC_PREFIX "/etc/conf.d"
/* PKG_PREFIX is where packages are installed if different from the base OS
* On Gentoo this is normally unset, on FreeBSD /usr/local and on NetBSD