From: "lumaro via supervision" <supervision@list.skarnet.org>
To: supervision@list.skarnet.org
Subject: Reboot or Shutdown commands dont exit from tty auto
Date: Sun, 24 Nov 2024 09:47:56 +0100 [thread overview]
Message-ID: <cdfce4d505db35ea0c31e35d5fdd2e49@disroot.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 736 bytes --]
Hi all,
When I try to restart or shutdown from the tty, user or root, the
process displays a message and waits until "exit" is executed and then
continues with the restart or shutdown...
Example:
----------
$ doas reboot
*** WARNING ***
The system id going down NOW!
$
----------
>> Then run "exit" and *shutdownd*" continues the process ...
My scripts:
-----------------
$ cat /sbin/reboot
#!/bin/execlineb -S0
s6-linux-init-hpr -r $@
$ cat /sbin/shutdown
#!/bin/execlineb -S0
s6-linux-init-shutdown $@
$ cat /sbin/poweroff
#!/bin/execlineb -S0
s6-linux-init-hpr -p $@
$ cat /sbin/halt
#!/bin/execlineb -S0
s6-linux-init-hpr -h $@
-----------------
Its normal? What am I doing wrong? Any ideas?
Thanks !!
Luis.
next reply other threads:[~2024-11-24 8:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-24 8:47 lumaro via supervision [this message]
2024-11-24 10:57 ` Hoël Bézier
2024-11-24 12:26 ` lumaro via supervision
2024-11-24 12:49 ` Re[2]: " Laurent Bercot
2024-11-24 14:46 ` lumaro via supervision
2024-11-24 16:39 ` [SOLVED] " lumaro via supervision
2024-11-24 22:47 ` Laurent Bercot
2024-11-25 5:00 ` lumaro via supervision
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cdfce4d505db35ea0c31e35d5fdd2e49@disroot.org \
--to=supervision@list.skarnet.org \
--cc=lumaro@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).