aboutsummaryrefslogtreecommitdiffstats
path: root/src/example_plugins/runcommand.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/example_plugins/runcommand.py')
-rwxr-xr-xsrc/example_plugins/runcommand.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/example_plugins/runcommand.py b/src/example_plugins/runcommand.py
index fa16020e..af8cc4fe 100755
--- a/src/example_plugins/runcommand.py
+++ b/src/example_plugins/runcommand.py
@@ -1,10 +1,6 @@
-#!/usr/bin/env python
-
## runcommand.py
## An example plugin for sos
-## Copyright (C) 2006 Steve Conklin <sconklin@redhat.com>
-
### This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
@@ -39,17 +35,6 @@ class runcommand(sos.plugintools.PluginBase):
Your finished plugin should be included with your package and installed in python's
site-packages/sos/plugins/ directory
"""
- optionList = []
- copiedFiles = []
- copiedDirs = []
- executedCommands = []
- alerts = []
- customText = ""
- cInfo = None
- piName = None
- optNames = []
- optParms = []
-
def collect(self):
''' Run a command. Output is automatically included in the report.
'''