From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JQNK4-0000Zh-Jr for garchives@archives.gentoo.org; Sat, 16 Feb 2008 13:43:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D14F7E032D; Sat, 16 Feb 2008 13:43:18 +0000 (UTC) Received: from mail.netspace.net.au (mail-out2.netspace.net.au [203.10.110.72]) by pigeon.gentoo.org (Postfix) with ESMTP id 7E1FAE032D for ; Sat, 16 Feb 2008 13:43:18 +0000 (UTC) Received: from [172.16.0.52] (220-253-117-18.SA.netspace.net.au [220.253.117.18]) by mail.netspace.net.au (Postfix) with ESMTP id 7CC126FFCF for ; Sun, 17 Feb 2008 00:43:16 +1100 (EST) Subject: Re: [gentoo-user] How to avoid NetworkManager logs in terminals From: Iain Buchanan To: gentoo-user@lists.gentoo.org In-Reply-To: <60a795cd0802150713i712cb0eet2cf65a43cbb8bb32@mail.gmail.com> References: <60a795cd0802140502p2e857464i76f5daa5e5f72f9@mail.gmail.com> <1203035864.7445.3.camel@orpheus> <60a795cd0802150713i712cb0eet2cf65a43cbb8bb32@mail.gmail.com> Content-Type: text/plain Date: Sat, 16 Feb 2008 23:13:06 +0930 Message-Id: <1203169386.25888.21.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 8854951c-a991-4f82-a3e7-e9db80a6a091 X-Archives-Hash: cfb6c7c77855ebe21bed06db85ec2126 On Fri, 2008-02-15 at 13:13 -0200, Alejandro Bednarik wrote: > 2008/2/14, Iain Buchanan : [snip] > > > The start-stop daemon have the parameter --quiet > > > I double check /etc/rc and the VERBOSE option for this kind of > > > services is off > > > i tried adding a /dev/null >& at the end of the start-stop daemon > > > call, but didn't work. > > > > > > not quite sure what "/dev/null >&" would do. I tried this with > > net.eth0: > > sudo /etc/init.d/net.eth0 restart >/dev/null > > > > and it got rid of all the output. To be sure, you could add 2>&1 > > sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1 [snip] > This is my tty1 after i start Networkmanager (not net.eth0, which are > different services) yes, I know :) I was just using net.eth0 as an example because I was too lazy to install networkmanager and see for myself! > and connect to a wireless network. The same happend when > i bootup my system. I need my tty's to work and plus all thi info is odd and > useless [snip] > Cheers, and thank for help us! Did you try my suggestion? > > sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1 did it help? (substitute net.eth0 with NetworkManager ;) It looks like all the output comes from this line in the init script (again, only looking in the source, so YMMV) start-stop-daemon --start --quiet --exec ${processname} try adding >/dev/null 2>&1 to the end of it. HTH, -- Iain Buchanan Its name is Public Opinion. It is held in reverence. It settles everything. Some think it is the voice of God. -- Mark Twain -- gentoo-user@lists.gentoo.org mailing list