Make it possible to specify the initctl path as a compile time define INIT_FIFO.

This commit is contained in:
Petter Reinholdtsen
2014-02-07 23:27:39 +00:00
parent 4811afc88b
commit da988bb28e
2 changed files with 8 additions and 4 deletions
+6 -4
View File
@@ -25,10 +25,12 @@
#include <sys/param.h>
#if defined(__FreeBSD_kernel__)
# define INIT_FIFO "/etc/.initctl"
#else
# define INIT_FIFO "/dev/initctl"
#ifndef INIT_FIFO
# if defined(__FreeBSD_kernel__)
# define INIT_FIFO "/etc/.initctl"
# else
# define INIT_FIFO "/dev/initctl"
# endif
#endif
#define INIT_MAGIC 0x03091969