Patrick Griffis
3e53635dfb
sysinfo: Make libpci an optional dependency
2017-11-18 20:47:32 -05:00
Patrick Griffis
47b653cc7c
sysinfo: Avoid libpci crash when pci not available
...
Turns out libpci is an awful library that on any error calls
exit() and has no way of indicating an error otherwise...
2017-11-18 00:22:48 -05:00
Patrick Griffis
99e16110bc
sysinfo: Simplify finding pci.ids file on Unix
...
There is probably no reason to make this user configurable just
get the correct one at build time...
2017-06-20 16:26:28 -04:00
Lance Poore
92496b183e
sysinfo: Lower priority of make.conf for distro name
...
This is used elsewhere other than Gentoo so it is a rather
unreliable check compared to lsb-release.
2017-04-28 07:44:55 -04:00
Patrick Griffis
737f87fa16
sysinfo: Fix leak
2016-09-03 12:29:01 -04:00
Patrick Griffis
4658c5d4e5
sysinfo: Don't print swap if 0
2016-09-03 12:24:15 -04:00
Patrick Griffis
ed029357d1
sysinfo: Clean up ifdefs and handle unsupported CPU
...
Mentioned in #1624
2016-03-06 23:10:04 -05:00
TingPing
7e7e87600e
More type issues/warnings
2015-02-21 21:01:14 -05:00
TingPing
c36d4859d7
Fix type mismatch
2015-02-21 20:52:43 -05:00
TingPing
5e3355a6c3
Unify sysinfo plugins and add osx support
...
This does remove the net* commands from the
Unix version that may return at a later date
with OSX and Windows support.
This commit also makes numerious other changes
such as code cleanup, reformatting, etc.
Closes #829
2015-02-21 20:09:15 -05:00