diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2013-04-26 11:17:03 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2013-04-26 11:17:03 +0100 |
commit | 46cb94284b5bb3b0f60cab57bf3aa78a55f98f89 (patch) | |
tree | bdb3f517e86d877ba1bf5fbc71173bad7a4bceef | |
parent | 4716e20e8d903534fae35846b7f50d0bcbc72600 (diff) | |
download | sos-46cb94284b5bb3b0f60cab57bf3aa78a55f98f89.tar.gz |
Kill the automount daemon plug-in (amd)
Nothing current ships the amd automounter any more. Remove the
plug-in from the tree.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/amd.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sos/plugins/amd.py b/sos/plugins/amd.py deleted file mode 100644 index 4ecb8f54..00000000 --- a/sos/plugins/amd.py +++ /dev/null @@ -1,28 +0,0 @@ -## Copyright (C) 2007 Red Hat, Inc., Eugene Teo <eteo@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 -## (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. - -from sos.plugins import Plugin, RedHatPlugin - -class Amd(Plugin, RedHatPlugin): - """Amd automounter information - """ - files = ('/etc/rc.d/init.d/amd',) - packages = ('am-utils',) - - def setup(self): - self.add_copy_specs("/etc/amd.*") - self.add_cmd_output("egrep -e 'automount|pid.*nfs' /proc/mounts") - self.add_cmd_output("mount | egrep -e 'automount|pid.*nfs'") |