Fix rc_svcdir for GNU/Hurd

This commit is contained in:
Gabriele Giacone 2014-10-22 15:02:51 -05:00 committed by William Hubbs
parent 875f03e27c
commit 4ac289b539

View File

@ -42,7 +42,7 @@ extern "C" {
#define RC_LIBEXECDIR "@LIBEXECDIR@" #define RC_LIBEXECDIR "@LIBEXECDIR@"
#if defined(PREFIX) #if defined(PREFIX)
#define RC_SVCDIR RC_LIBEXECDIR "/init.d" #define RC_SVCDIR RC_LIBEXECDIR "/init.d"
#elif defined(__linux__) || defined(__FreeBSD_kernel__) #elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
#define RC_SVCDIR "/run/openrc" #define RC_SVCDIR "/run/openrc"
#else #else
#define RC_SVCDIR RC_LIBEXECDIR "/init.d" #define RC_SVCDIR RC_LIBEXECDIR "/init.d"