| Bug#: 185282 | Product: Gentoo Linux | Version: 2007.0 | Platform: All |
| OS/Version: Linux | Status: RESOLVED | Severity: normal | Priority: P2 |
| Resolution: FIXED | Assigned To: pva@gentoo.org | Reported By: massimo.burcheri@gmx.de | |
| Component: Applications | |||
| URL: | |||
| Summary: net-analyzer/iftop-0.17 - /etc/iftoprc doesn't honor config file | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2007-07-14 09:59 0000 | |||
| Description: | Opened: 2007-07-14 09:59 0000 |
iftop looks for ~/.iftoprc only. The ebuild comes with /etc/iftoprc but the file isn't used. I suggest alias iftop="iftop -c /etc/iftoprc"
Created an attachment (id=124949) [details]
iftop-fallback-on-etciftoprc.patch
Thank you for report, Massimo. Actually iftop man page does not mention
/etc/iftoprc, and as you told us, does not use it. One possible solution is in
the patch I've created just for fun... With that patch, if iftop does not find
$HOME/.iftoprc it falls back on /etc/iftoprc. But to follow upstream decisions
I've just moved example iftoprc into /usr/share/doc/${PF}/.