From 23fba266a9454ee6ca095b7f6eccf523f6526607 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 2 Mar 2019 09:41:24 +0000 Subject: Save pending changes in 1.0.0.0 branch --- src/include-local/defaults.h | 10 ++++++++++ src/include-local/initctl.h | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 src/include-local/defaults.h create mode 100644 src/include-local/initctl.h (limited to 'src/include-local') diff --git a/src/include-local/defaults.h b/src/include-local/defaults.h new file mode 100644 index 0000000..dc36e0f --- /dev/null +++ b/src/include-local/defaults.h @@ -0,0 +1,10 @@ +/* ISC license. */ + +#ifndef S6_LINUX_INIT_DEFAULTS_H +#define S6_LINUX_INIT_DEFAULTS_H + +#define BINDIR "/bin" +#define BASEDIR "/etc/s6-linux-init" +#define INITPATH "/usr/bin:/bin" + +#endif diff --git a/src/include-local/initctl.h b/src/include-local/initctl.h new file mode 100644 index 0000000..4102640 --- /dev/null +++ b/src/include-local/initctl.h @@ -0,0 +1,32 @@ +/* ISC license. */ + +#ifndef S6_LINUX_INIT_INITCTL_H +#define S6_LINUX_INIT_INITCTL_H + +#include + +#define SCANDIR "service" + +#define SHUTDOWND_SERVICEDIR "s6-linux-init-shutdownd" +#define SHUTDOWND_FIFO "fifo" +#define INITCTL S6_LINUX_INIT_TMPFS "/" SCANDIR "/" SHUTDOWND_SERVICEDIR "/" SHUTDOWND_FIFO + +#define LOGOUTHOOKD_SERVICEDIR "s6-linux-init-logouthookd" +#define LOGOUTHOOKD_SOCKET "s" +#define LOGOUTHOOKD_PATH S6_LINUX_INIT_TMPFS "/" SCANDIR "/" LOGOUTHOOKD_SERVICEDIR "/" LOGOUTHOOKD_SOCKET + +#define LOGGER_SERVICEDIR "s6-svscan-log" +#define LOGGER_FIFO "fifo" +#define LOGFIFO S6_LINUX_INIT_TMPFS "/" SCANDIR "/" LOGGER_SERVICEDIR "/" LOGGER_FIFO + +#define EARLYGETTY_SERVICEDIR "s6-linux-init-early-getty" +#define EARLYGETTY S6_LINUX_INIT_TMPFS "/" SCANDIR "/" EARLYGETTY_SERVICEDIR + +#define RUNIMAGE "run-image" +#define ENVSTAGE1 "env-global" +#define ENVSTAGE2 "env-stage2" +#define STAGE2 "stage2" +#define STAGE3 "stage3" +#define STAGE4 "stage4" + +#endif -- cgit v1.2.3