Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 14:00:51 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Julian Elischer <julian@FreeBSD.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: remove shutdown messages in console
Message-ID:  <1D565840-1ADA-4567-85B0-FB4AE771B823@bsdimp.com>
In-Reply-To: <52F05DFC.7070007@freebsd.org>
References:  <CAJCLxb2vYjOqn%2BNiS7nWcjY9Mip-cDbFHN37f6z7BDq9ghzsWQ@mail.gmail.com> <52F05DFC.7070007@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Feb 3, 2014, at 8:26 PM, Julian Elischer wrote:

> On 2/2/14, 6:07 PM, Reza Mirzazadeh wrote:
>> hi . how can i remove shutdown messages in console ? or even print my
>> arbitrary messages in console ?
>>=20
>>=20
>> *** FINAL System shutdown message from root@geekiam ***
>> System going down IMMEDIATELY
>>=20
>> some messages like these ! i don't want it print theses messages
>> --
>> _______________________________________________
>> freebsd-hackers@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>> To unsubscribe, send any mail to =
"freebsd-hackers-unsubscribe@freebsd.org"
>>=20
> we implimented the consmute sysctl option to "mute" an otherwise =
configured console for exactly this purpose.
> (and boot messages).

Except these are different beast. They aren't kernel messages, but =
generated by userland...

to get rid of these, hack /etc/syslog.conf to get rid of the *.emerg * =
line.
Or hack shutdown to stop sending them....
Or use 'halt' and 'reboot' only

Warner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1D565840-1ADA-4567-85B0-FB4AE771B823>