aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2018-03-28 16:43:30 +0100
committerBryn M. Reeves <bmr@redhat.com>2018-03-28 16:48:00 +0100
commitc975855e0529bba13571ec191e6222d4dc667d36 (patch)
tree95b232c01e376ffb47af5ea17303959e4039a8ef
parent7167a02a2f0352b51f89cd15518626783c14fde4 (diff)
downloadsos-c975855e0529bba13571ec191e6222d4dc667d36.tar.gz
[wireless] add RedHat subclass and package/file lists
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/wireless.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/sos/plugins/wireless.py b/sos/plugins/wireless.py
index 7d6f72fb..22c61b95 100644
--- a/sos/plugins/wireless.py
+++ b/sos/plugins/wireless.py
@@ -15,7 +15,7 @@
from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin
-class Wireless(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
+class Wireless(Plugin, DebianPlugin, UbuntuPlugin):
"""Wireless
"""
@@ -31,4 +31,12 @@ class Wireless(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"iwlist scanning"
])
+
+class RedHatWireless(Wireless, RedHatPlugin):
+ """Wireless
+ """
+
+ files = ('/usr/sbin/iw', '/usr/sbin/iwlist')
+ packages = ('iw', 'wireless-tools')
+
# vim: set et ts=4 sw=4 :