summaryrefslogtreecommitdiff
path: root/src/include-local
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-04-18 21:19:46 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-04-18 21:19:46 +0000
commitcb5b1af6dee0ff41e73a3bc0661ba7aa7b1d1b94 (patch)
treecf98bbf28c070ffbf877fc487d1785498446a164 /src/include-local
parent73cff35173dd75b0254ae7cf9098c32822859de0 (diff)
downloads6-linux-init-cb5b1af6dee0ff41e73a3bc0661ba7aa7b1d1b94.tar.xz
Add support for nsss and utmps; add skel management
Diffstat (limited to 'src/include-local')
-rw-r--r--src/include-local/defaults.h2
-rw-r--r--src/include-local/initctl.h5
2 files changed, 3 insertions, 4 deletions
diff --git a/src/include-local/defaults.h b/src/include-local/defaults.h
index a22693b..a28e2e5 100644
--- a/src/include-local/defaults.h
+++ b/src/include-local/defaults.h
@@ -3,7 +3,7 @@
#ifndef S6_LINUX_INIT_DEFAULTS_H
#define S6_LINUX_INIT_DEFAULTS_H
-#define BASEDIR "/etc/s6-linux-init"
+#define BASEDIR "/etc/s6-linux-init/current"
#define INITPATH "/usr/bin:/bin"
#endif
diff --git a/src/include-local/initctl.h b/src/include-local/initctl.h
index 6610de8..73caf02 100644
--- a/src/include-local/initctl.h
+++ b/src/include-local/initctl.h
@@ -29,8 +29,7 @@
#define RUNIMAGE "run-image"
#define ENVSTAGE1 "env-global"
#define ENVSTAGE2 "env-stage2"
-#define STAGE2 "stage2"
-#define STAGE3 "stage3"
-#define STAGE4 "stage4"
+#define STAGE2 "rc.init"
+#define STAGE3 "rc.shutdown"
#endif