From 3247184d860aea7ccc2c58d399f62c088978e973 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 25 Jan 2012 11:42:32 -0600 Subject: Remove prefix support I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems. --- src/librc/librc.c | 6 ------ src/librc/rc.h.in | 1 - 2 files changed, 7 deletions(-) (limited to 'src') diff --git a/src/librc/librc.c b/src/librc/librc.c index d82880fb..ed601964 100644 --- a/src/librc/librc.c +++ b/src/librc/librc.c @@ -216,7 +216,6 @@ rc_sys_v2(void) } /* Now do detection */ __STRING_SWITCH(systype) - __STRING_CASE(RC_SYS_PREFIX) { return RC_SYS_PREFIX; } #ifdef __FreeBSD__ __STRING_CASE(RC_SYS_JAIL) { return RC_SYS_JAIL; } #endif /* __FreeBSD__ */ @@ -246,10 +245,6 @@ librc_hidden_def(rc_sys_v2) const char * rc_sys_v1(void) { -#ifdef PREFIX - return RC_SYS_PREFIX; -#else - #ifdef __FreeBSD__ int jailed = 0; size_t len = sizeof(jailed); @@ -286,7 +281,6 @@ rc_sys_v1(void) #endif return NULL; -#endif /* PREFIX */ } librc_hidden_def(rc_sys_v1) diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in index 31b21f16..468990ee 100644 --- a/src/librc/rc.h.in +++ b/src/librc/rc.h.in @@ -276,7 +276,6 @@ bool rc_service_daemons_crashed(const char *); #define RC_SYS_JAIL "JAIL" #define RC_SYS_OPENVZ "OPENVZ" #define RC_SYS_LXC "LXC" -#define RC_SYS_PREFIX "PREFIX" #define RC_SYS_UML "UML" #define RC_SYS_VSERVER "VSERVER" #define RC_SYS_XEN0 "XEN0" -- cgit v1.2.3