aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-08-05 17:46:12 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-08-05 17:47:28 +0100
commitc108de69b6f705672776031319100c6716ad3c26 (patch)
tree5481021989468a06eedec90e32971bf259540695
parentdb094fe96073fbfa1e719c1d6cc99bbc3bf536ba (diff)
downloadsos-c108de69b6f705672776031319100c6716ad3c26.tar.gz
[startup] add /etc/inittab and move rc.d from RedHat to Startup
Related: #69. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/startup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/sos/plugins/startup.py b/sos/plugins/startup.py
index 575801ac..c4d50004 100644
--- a/sos/plugins/startup.py
+++ b/sos/plugins/startup.py
@@ -25,6 +25,10 @@ class Startup(Plugin):
"slow", False)]
def setup(self):
+ self.add_copy_specs([
+ "/etc/inittab",
+ "/etc/rc.d"
+ ])
if self.get_option('servicestatus'):
self.add_cmd_output("/sbin/service --status-all")
self.add_cmd_output("/sbin/runlevel")
@@ -36,7 +40,6 @@ class RedHatStartup(Startup, RedHatPlugin):
def setup(self):
super(RedHatStartup, self).setup()
- self.add_copy_spec("/etc/rc.d")
self.add_cmd_output("/sbin/chkconfig --list", root_symlink="chkconfig")