aboutsummaryrefslogtreecommitdiffstats
path: root/src/sosreport
diff options
context:
space:
mode:
authorastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2009-11-19 16:58:56 +0000
committerastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2009-11-19 16:58:56 +0000
commit3d24813b016e762d3ff6833dc32ba0e1d4baf80e (patch)
treede5f35a663ac34f3b691e7bd1330cb14d6fae37f /src/sosreport
parentca82acb7c9fda8f7eaf1ba8cfbe7ab59652a009a (diff)
downloadsos-3d24813b016e762d3ff6833dc32ba0e1d4baf80e.tar.gz
- more plugin additions
- hopefully fixed a problem with symlinks copying unwanted data git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@662 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/sosreport')
-rwxr-xr-xsrc/sosreport10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/sosreport b/src/sosreport
index f84c2f2a..86286ae3 100755
--- a/src/sosreport
+++ b/src/sosreport
@@ -39,6 +39,10 @@ import gettext
from multiprocessing import Semaphore
__version__ = 1.8
+if os.path.isfile('/etc/fedora-release'):
+ __distro__ = 'Fedora'
+else:
+ __distro__ = 'Red Hat Enterprise Linux'
## Set up routines to be linked to signals for termination handling
def exittermhandler(signum, frame):
@@ -640,16 +644,16 @@ def sosreport():
doExit(1)
msg = _("""This utility will collect some detailed information about the
-hardware and setup of your Fedora system.
+hardware and setup of your %s system.
The information is collected and an archive is packaged under
/tmp, which you can send to a support representative.
-Fedora will use this information for diagnostic purposes ONLY
+%s will use this information for diagnostic purposes ONLY
and it will be considered confidential information.
This process may take a while to complete.
No changes will be made to your system.
-""")
+""" % (__distro__, __distro__))
if __cmdLineOpts__.batch:
print msg
else: