You are not logged in.

#1 2020-12-12 12:02:42

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,464

[SOLVED] How to get a "quiet" boot and a verbose shutdown?

Hi,
To have a quiet boot, i use the "quiet" kernel commandline and it works well in hiding messages printed to the console.
However, from time to time my shutdown/reboot sequence hangs and i'm unable to read what is happening; probably systemd is waiting for something to stop.
So, i'd like to have a quiet boot, but a verbose shutdown/reboot.
Being "boot" a kernel command line, probably systemd is picking it and changing its loglevel, is there a way to revert it after the system has booted?

Thanks!

-edit
found it in... err... man systemd smile

SIGRTMIN+20
           Enables display of status messages on the console, as controlled via systemd.show_status=1 on the kernel command line.

       SIGRTMIN+21
           Disables display of status messages on the console, as controlled via systemd.show_status=0 on the kernel command line.

       SIGRTMIN+22
           Sets the service manager's log level to "debug", in a fashion equivalent to systemd.log_level=debug on the kernel command line.

# kill SIGRTMIN+20 1

Last edited by kokoko3k (2020-12-12 12:20:42)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB