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 $_at_
$ cat /sbin/shutdown
#!/bin/execlineb -S0
s6-linux-init-shutdown $_at_
$ cat /sbin/poweroff
#!/bin/execlineb -S0
s6-linux-init-hpr -p $_at_
$ cat /sbin/halt
#!/bin/execlineb -S0
s6-linux-init-hpr -h $_at_
-----------------
Its normal? What am I doing wrong? Any ideas?
Thanks !!
Luis.
Received on Sun Nov 24 2024 - 09:47:56 CET