diff options
Diffstat (limited to 'src/lib/sos/plugins/ppp.py')
-rw-r--r-- | src/lib/sos/plugins/ppp.py | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/lib/sos/plugins/ppp.py b/src/lib/sos/plugins/ppp.py deleted file mode 100644 index a60517e2..00000000 --- a/src/lib/sos/plugins/ppp.py +++ /dev/null @@ -1,32 +0,0 @@ -## Copyright (C) 2007 Sadique Puthen <sputhenp@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. - -import sos.plugintools -import os - -class ppp(sos.plugintools.PluginBase): - """ppp, wvdial and rp-pppoe related information - """ - def checkenabled(self): - if self.cInfo["policy"].pkgByName("ppp") or os.path.exists("/etc/wvdial.conf"): - return True - return False - - def setup(self): - self.addCopySpec("/etc/wvdial.conf") - self.addCopySpec("/etc/ppp") - self.addCopySpec("/var/log/ppp") - self.collectExtOutput("/usr/sbin/adsl-status") |