From eb5b5d843d4584f6e3548b1de069126deb3edb69 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 26 Feb 2020 13:46:42 +0000 Subject: Tentative support for kbrequest --- src/init/s6-linux-init-maker.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/init/s6-linux-init-maker.c') 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) { -- cgit v1.2.3