Fix rc_svcdir for GNU/kFreeBSD

This commit is contained in:
Gabriele Giacone authored and William Hubbs committed 2014-10-22 13:27:37 -05:00
1 parent d8e1d9a6ed
commit 89c8a62a10
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ extern "C" {
#define RC_LIBEXECDIR "@LIBEXECDIR@"
#if defined(PREFIX)
#define RC_SVCDIR RC_LIBEXECDIR "/init.d"
#elif defined(__linux__)
#elif defined(__linux__) || defined(__FreeBSD_kernel__)
#define RC_SVCDIR "/run/openrc"
#else
#define RC_SVCDIR RC_LIBEXECDIR "/init.d"