diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-04-06 16:49:55 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-04-06 16:49:55 +0100 |
commit | dceb2d29a24ff59a6560fc5e7a5ee046a171980a (patch) | |
tree | 16a9aba7a15021c8379c16f5e309e63c268d6991 | |
parent | d3767e23324d58a148c59812477205661acd2026 (diff) | |
download | sos-dceb2d29a24ff59a6560fc5e7a5ee046a171980a.tar.gz |
Remove pipe use from soundcard plugin
This is redundant since the whole lspci and lsmod output is
captured elsewhere. Also removes shell syntax from the plugin.
Related: Issue #253.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/soundcard.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sos/plugins/soundcard.py b/sos/plugins/soundcard.py index 6b13a2d0..75fdca06 100644 --- a/sos/plugins/soundcard.py +++ b/sos/plugins/soundcard.py @@ -26,12 +26,9 @@ class Soundcard(Plugin): def setup(self): self.add_copy_spec("/proc/asound/*") - self.add_cmd_output("lspci | grep -i audio") self.add_cmd_output("aplay -l") self.add_cmd_output("aplay -L") self.add_cmd_output("amixer") - self.add_cmd_output("lsmod | grep snd | awk '{print $1}'",\ - suggest_filename = "sndmodules_loaded") class RedHatSoundcard(Soundcard, RedHatPlugin): """ Sound card information for RedHat distros |