aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabriele Giacone <1o5g4r8o@gmail.com>2014-10-21 21:17:52 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2014-10-22 13:27:37 -0500
commit89c8a62a1078e770e12c47f06c8dbc9c2924e771 (patch)
treee75e59e200f89cd5b0b16f1bab640fa4c35986aa /src
parentd8e1d9a6edf94ecac580e80e1113f4fdbdc5a23b (diff)
Fix rc_svcdir for GNU/kFreeBSD
Diffstat (limited to 'src')
-rw-r--r--src/librc/rc.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in
index 5ef8d7fd..8f0e8899 100644
--- a/src/librc/rc.h.in
+++ b/src/librc/rc.h.in
@@ -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"