aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/sos/plugins/kdump.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/sos/plugins/kdump.py')
-rw-r--r--src/lib/sos/plugins/kdump.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/lib/sos/plugins/kdump.py b/src/lib/sos/plugins/kdump.py
deleted file mode 100644
index d9f248a4..00000000
--- a/src/lib/sos/plugins/kdump.py
+++ /dev/null
@@ -1,31 +0,0 @@
-### 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
-## (at your option) any later version.
-
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-import sos.plugintools
-from os.path import exists
-
-class kdump(sos.plugintools.PluginBase):
- """Kdump related information
- """
- def checkenabled(self):
- if self.isInstalled("kexec-tools") or exists("/etc/kdump.conf"):
- return True
- return False
-
- def setup(self):
- self.addCopySpec("/etc/kdump.conf")
- self.addCopySpec("/etc/sysconfig/kdump")
- self.addCopySpec("/proc/cmdline")
- self.addCopySpec("/etc/udev/rules.d/*kexec.rules")
- return