summaryrefslogtreecommitdiff
path: root/src/init/s6-linux-init-maker.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-02-26 13:46:42 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-02-26 13:46:42 +0000
commiteb5b5d843d4584f6e3548b1de069126deb3edb69 (patch)
treee52c0f755956d4e0a8a2fa46cf588836152b7386 /src/init/s6-linux-init-maker.c
parent723220f5e6ca72a43a795f88f9282e81749ace3f (diff)
downloads6-linux-init-eb5b5d843d4584f6e3548b1de069126deb3edb69.tar.xz
Tentative support for kbrequest
Diffstat (limited to 'src/init/s6-linux-init-maker.c')
-rw-r--r--src/init/s6-linux-init-maker.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/init/s6-linux-init-maker.c b/src/init/s6-linux-init-maker.c
index 27ac0c4..33c9b51 100644
--- a/src/init/s6-linux-init-maker.c
+++ b/src/init/s6-linux-init-maker.c
@@ -65,7 +65,7 @@ static char const *utmp_user = "utmp" ;
typedef int writetobuf_func_t (buffer *, char const *) ;
typedef writetobuf_func_t *writetobuf_func_t_ref ;
-#define put_shebang(b) put_shebang_options((b), "-P")
+#define put_shebang(b) put_shebang_options((b), 0)
static int put_shebang_options (buffer *b, char const *options)
{
@@ -549,6 +549,7 @@ static inline void make_image (char const *base)
auto_script(base, "run-image/" SCANDIR "/.s6-svscan/SIGUSR1", &sig_script, "-p") ;
auto_script(base, "run-image/" SCANDIR "/.s6-svscan/SIGUSR2", &sig_script, "-h") ;
auto_script(base, "run-image/" SCANDIR "/.s6-svscan/SIGPWR", &sig_script, "-p") ;
+ auto_script(base, "run-image/" SCANDIR "/.s6-svscan/SIGWINCH", &put_shebang_options, 0) ;
if (!nologger)
{