Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to avoid NetworkManager logs <info> in terminals
Date: Fri, 15 Feb 2008 00:38:32
Message-Id: 1203035864.7445.3.camel@orpheus
In Reply to: [gentoo-user] How to avoid NetworkManager logs in terminals by Ale
1 On Thu, 2008-02-14 at 10:02 -0300, Ale wrote:
2 > I get many <info> lines in the tty1 every time i start NM, the same
3 > happend if i add NM service at boot time. I don't like all that
4 > output, with a simple Network manager starting [OK] is enough, which i
5 > see in the terminal when i manually start the service is ok.
6 > What can i do to avoid this?
7
8 what's wrong with output? can you post the output verbatim? I had a
9 look at the init script and it doesn't seem to print much.
10
11 > The start-stop daemon have the parameter --quiet
12 > I double check /etc/rc and the VERBOSE option for this kind of
13 > services is off
14 > i tried adding a /dev/null >& at the end of the start-stop daemon
15 > call, but didn't work.
16
17 not quite sure what "/dev/null >&" would do. I tried this with
18 net.eth0:
19 sudo /etc/init.d/net.eth0 restart >/dev/null
20
21 and it got rid of all the output. To be sure, you could add 2>&1
22 sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1
23
24 > Any clues?
25 >
26 > Cheers!
27
28 HTH,
29 --
30 Iain Buchanan <iaindb at netspace dot net dot au>
31
32 Advertising Rule:
33 In writing a patent-medicine advertisement, first convince the
34 reader that he has the disease he is reading about; secondly,
35 that it is curable.
36
37 --
38 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] How to avoid NetworkManager logs <info> in terminals Alejandro Bednarik <elcorreodeale@×××××.com>