Make it possible to specify the initctl path as a compile time define INIT_FIFO.
This commit is contained in:
parent
4811afc88b
commit
da988bb28e
@ -85,6 +85,8 @@ sysvinit (2.89) UNRELEASED; urgency=low
|
|||||||
* Drop dsf part from version number. It no longer make sense to keep.
|
* Drop dsf part from version number. It no longer make sense to keep.
|
||||||
* Remove obsolete/ directory from tarball. None of it have been useful
|
* Remove obsolete/ directory from tarball. None of it have been useful
|
||||||
for many years.
|
for many years.
|
||||||
|
* Make it possible to specify the initctl path as a compile time
|
||||||
|
define INIT_FIFO.
|
||||||
|
|
||||||
-- Petter Reinholdtsen <pere@hungry.com> Sun Apr 11 11:28:55 CEST 2010
|
-- Petter Reinholdtsen <pere@hungry.com> Sun Apr 11 11:28:55 CEST 2010
|
||||||
|
|
||||||
|
@ -25,10 +25,12 @@
|
|||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
|
||||||
#if defined(__FreeBSD_kernel__)
|
#ifndef INIT_FIFO
|
||||||
# define INIT_FIFO "/etc/.initctl"
|
# if defined(__FreeBSD_kernel__)
|
||||||
#else
|
# define INIT_FIFO "/etc/.initctl"
|
||||||
# define INIT_FIFO "/dev/initctl"
|
# else
|
||||||
|
# define INIT_FIFO "/dev/initctl"
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define INIT_MAGIC 0x03091969
|
#define INIT_MAGIC 0x03091969
|
||||||
|
Loading…
Reference in New Issue
Block a user