Skip to main content
Topic: Message alignment during shutdown (Read 483 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Message alignment during shutdown

Is there a way to align the message text while the system rebooted/poweroff?
Code: [Select]
*** WARNING ***
                The system going down NOW!

                        s6-linux-init-shutdownd: info: sending all processes the TERM signal...
s6-linux-init-shutdownd: info: sending all processes the KILL signal...

I greped for the text in s6-scripts (/etc & /run), but I didn't find it.
Apparently, these messages are in the s6 source code.

P.S.
I think it should look something like this:
Quote
The system going down now.
s6-linux-init-shutdownd: info: sending all processes the TERM signal...

Code: [Select]
printf "\n%s$VAR)\n"
printf "The system going down NOW\n\n"

P.P.S.
Why the word "*** WARNING ***" and even more KILL signal?
Users usually know that they are shutting down the system.
Mandrake —> SUSE Linux —> Slackware —> ASPLinux —> Debian —> Ubuntu —> Linux Mint —> Arch Linux —> Void Linux —> Artix Linux (runit) —> Oberun
Best regards to Artix development team

Re: Message alignment during shutdown

Reply #1
That would be part of s6-linux-init. As far as I know, that's just the hardcoded message. Feel free to send skarnet a patch. :P

P.S. for me, everything is aligned normally during shutdown though.

 

Re: Message alignment during shutdown

Reply #2
Also happens to me when I'm in xfce/lightdm, on the other hand the alignment shows up correctly in kde/sddm for whatever reason.