Reboot or Shutdown commands dont exit from tty auto
"lumaro via supervision" <[email protected]> Sun, 24 Nov 2024 09:47:56 +0100
| Newsgroups | gmane.comp.sysutils.supervision.general |
|---|---|
| Message-ID | <[email protected]> |
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.