From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 6 21:00:54 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A1A6F8D8 for ; Thu, 6 Feb 2014 21:00:54 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 60B0715AE for ; Thu, 6 Feb 2014 21:00:54 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id at1so1004105iec.25 for ; Thu, 06 Feb 2014 13:00:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=y0eFqStRFQVHZiv57O3zvyl8QK/H9HZMUsDRUltPRLQ=; b=N+cH7+aUHZjlfyuK3vIbsq9uPn2D2NZN3oVqaro+OFF19eEb+/iqAVoBReQxneZlOj aVeOLEOi1LXzQ7FXNCjS3cqE1tCWmOjhZcUxzgyAYFNWkUARDUZ7QB8GLfUAWlDzAi5E diEkKwno7eHrXHGu0ECPjYm/0tSufDonJHmbhxQahIsPOQl6EAwR6mhpIUCh/04IFRrI +/E3+WJzz7EzAPDWyJXJp+m9ep76aHjpYzyoTBatDOx2ZIt9leP3jajOHfVf8ZzAfe36 orySrn0pOSWwNKC1X0f9vm+SHh5TYGFRHRYU6TYcIT7Caorh68aE3s0y/n678qAKpz1j HPAw== X-Gm-Message-State: ALoCoQnz5cpZIXerx4T2lC0k/LW8HpyH8g8gwCI56W5RRhIx2uuP54CrZuhVkVw8WBUoH45ScOuB X-Received: by 10.42.154.73 with SMTP id p9mr1075983icw.25.1391720453522; Thu, 06 Feb 2014 13:00:53 -0800 (PST) Received: from monkey-bot.int.fusionio.com ([209.117.142.2]) by mx.google.com with ESMTPSA id h6sm2185723igy.8.2014.02.06.13.00.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Feb 2014 13:00:53 -0800 (PST) Sender: Warner Losh Subject: Re: remove shutdown messages in console Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <52F05DFC.7070007@freebsd.org> Date: Thu, 6 Feb 2014 14:00:51 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <1D565840-1ADA-4567-85B0-FB4AE771B823@bsdimp.com> References: <52F05DFC.7070007@freebsd.org> To: Julian Elischer X-Mailer: Apple Mail (2.1085) Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Feb 2014 21:00:54 -0000 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