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: Sat, 16 Feb 2008 13:43:20
Message-Id: 1203169386.25888.21.camel@orpheus
In Reply to: Re: [gentoo-user] How to avoid NetworkManager logs in terminals by Alejandro Bednarik
1 On Fri, 2008-02-15 at 13:13 -0200, Alejandro Bednarik wrote:
2 > 2008/2/14, Iain Buchanan <iaindb@××××××××××××.au>:
3
4 [snip]
5
6 > > > The start-stop daemon have the parameter --quiet
7 > > > I double check /etc/rc and the VERBOSE option for this kind of
8 > > > services is off
9 > > > i tried adding a /dev/null >& at the end of the start-stop daemon
10 > > > call, but didn't work.
11 > >
12 > >
13 > > not quite sure what "/dev/null >&" would do. I tried this with
14 > > net.eth0:
15 > > sudo /etc/init.d/net.eth0 restart >/dev/null
16 > >
17 > > and it got rid of all the output. To be sure, you could add 2>&1
18 > > sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1
19
20 [snip]
21
22 > This is my tty1 after i start Networkmanager (not net.eth0, which are
23 > different services)
24
25 yes, I know :) I was just using net.eth0 as an example because I was
26 too lazy to install networkmanager and see for myself!
27
28 > and connect to a wireless network. The same happend when
29 > i bootup my system. I need my tty's to work and plus all thi info is odd and
30 > useless
31
32 [snip]
33
34 > Cheers, and thank for help us!
35
36 Did you try my suggestion?
37
38 > > sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1
39
40 did it help? (substitute net.eth0 with NetworkManager ;)
41
42 It looks like all the output comes from this line in the init script
43 (again, only looking in the source, so YMMV)
44 start-stop-daemon --start --quiet --exec ${processname}
45
46 try adding
47 >/dev/null 2>&1
48 to the end of it.
49
50 HTH,
51 --
52 Iain Buchanan <iaindb at netspace dot net dot au>
53
54 Its name is Public Opinion. It is held in reverence. It settles everything.
55 Some think it is the voice of God.
56 -- Mark Twain
57
58 --
59 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>