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.

Reply via email to