~ubuntu-branches/ubuntu/lucid/logwatch/lucid-201002122348

« back to all changes in this revision

Viewing changes to scripts/services/zz-runtime

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2008-07-05 11:49:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080705114954-9naedpe6wrk3k7xt
Tags: 7.3.6.cvs20080702-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Use postfix rather than exim4.
  - Update maintainers according to spec.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
##########################################################################
2
 
# $Id: zz-runtime,v 1.2 2007/04/28 23:47:13 bjorn Exp $
 
2
# $Id: zz-runtime,v 1.3 2008/03/24 23:31:27 kirk Exp $
3
3
##########################################################################
4
4
# $Log: zz-runtime,v $
 
5
# Revision 1.3  2008/03/24 23:31:27  kirk
 
6
# added copyright/license notice to each script
 
7
#
5
8
# Revision 1.2  2007/04/28 23:47:13  bjorn
6
9
# Added show_runtime variable.
7
10
#
11
14
#
12
15
##########################################################################
13
16
 
 
17
#######################################################
 
18
## Copyright (c) 2008 Kirk Bauer
 
19
## Covered under the included MIT/X-Consortium License:
 
20
##    http://www.opensource.org/licenses/mit-license.php
 
21
## All modifications and contributions by other persons to
 
22
## this script are assumed to have been donated to the
 
23
## Logwatch project and thus assume the above copyright
 
24
## and licensing terms.  If you want to make contributions
 
25
## under your own copyright or a different license this
 
26
## must be explicitly stated in the contribution an the
 
27
## Logwatch project reserves the right to not accept such
 
28
## contributions.  If you have made significant
 
29
## contributions to this script and want to claim
 
30
## copyright please contact logwatch-devel@logwatch.org.
 
31
#########################################################
 
32
 
14
33
my $uptime=`uptime`;
15
34
my $show_uptime = $ENV{'show_uptime'} || 0;
16
35
if (($ENV{'PRINTING'} eq "y" ) && $show_uptime && $uptime) {