From dceb2d29a24ff59a6560fc5e7a5ee046a171980a Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Sun, 6 Apr 2014 16:49:55 +0100 Subject: 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 --- sos/plugins/soundcard.py | 3 --- 1 file changed, 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 -- cgit