/[smecontribs]/rpms/smeserver-sme8admin/contribs8/smeserver-sme8admin-64bit.patch
ViewVC logotype

Contents of /rpms/smeserver-sme8admin/contribs8/smeserver-sme8admin-64bit.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Mon Sep 10 00:47:40 2012 UTC (12 years, 2 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-sme8admin-1_3-4_el5_sme, smeserver-sme8admin-1_3-3_el5_sme, HEAD
Changes since 1.1: +2 -2 lines
Error occurred while calculating annotation data.
* Sun Sep 09 2012 JP Pialasse <test@pialasse.com> 1.3-3.sme
- startup fix [SME 3022]

1 --- smeserver-sme8admin-1.3/root/usr/bin/sme8admind.64bits 2012-07-18 11:19:41.000000000 -0400
2 +++ smeserver-sme8admin-1.3/root/usr/bin/sme8admind 2012-07-18 11:27:29.000000000 -0400
3 @@ -961,7 +961,10 @@
4 ($mem_membuffers,$mem_memcache,$mem_swaptotal,$mem_swapused,$mem_swapfree)=('U','U','U','U','U');
5
6 rename("$rrddir/sadc.bck","$rrddir/sadc.out");
7 - `/usr/lib/sa/sadc 1 1 $rrddir/sadc.out; /usr/lib/sa/sadc 1 1 $rrddir/sadc.bck`;
8 + if ( -x '/usr/lib/sa/sadc' ) {
9 + `/usr/lib/sa/sadc 1 1 $rrddir/sadc.out; /usr/lib/sa/sadc 1 1 $rrddir/sadc.bck`;}
10 + else
11 + {`/usr/lib64/sa/sadc 1 1 $rrddir/sadc.out; /usr/lib64/sa/sadc 1 1 $rrddir/sadc.bck`;}
12 # small change to support sysstat > 5.1
13 my @sardata;
14 if ( -x '/usr/bin/sadf' ) { @sardata=`/usr/bin/sadf -- -qrbu -n DEV $rrddir/sadc.out`; }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed