From c108de69b6f705672776031319100c6716ad3c26 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Tue, 5 Aug 2014 17:46:12 +0100 Subject: [startup] add /etc/inittab and move rc.d from RedHat to Startup Related: #69. Signed-off-by: Bryn M. Reeves --- sos/plugins/startup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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") -- cgit