/[smeserver]/rpms/e-smith-nutUPS/sme8/e-smith-nutUPS-1.2.0-slave.patch
ViewVC logotype

Annotation of /rpms/e-smith-nutUPS/sme8/e-smith-nutUPS-1.2.0-slave.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 19:13:07 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-nutUPS-1_2_0-16_el5_sme, e-smith-nutUPS-1_2_0-15_el5_sme, e-smith-nutUPS-1_2_0-17_el5_sme, e-smith-nutUPS-1_2_0-14_el5_sme
Import on branch sme8 of package e-smith-nutUPS-1.2.0-14.el5.sme.src.rpm

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/sysconfig/ups/SERVER mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/sysconfig/ups/SERVER
2     --- e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/sysconfig/ups/SERVER 2007-01-04 11:38:52.000000000 -0700
3     +++ mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/sysconfig/ups/SERVER 2007-01-04 11:33:45.000000000 -0700
4     @@ -1 +1 @@
5     -SERVER=yes
6     +SERVER={ $nut{Master} || 'yes' }
7     diff -Nur -x '*.orig' -x '*.rej' e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/ups/upsmon.conf/MONITOR mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/ups/upsmon.conf/MONITOR
8     --- e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/ups/upsmon.conf/MONITOR 2007-01-04 11:38:52.000000000 -0700
9     +++ mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/ups/upsmon.conf/MONITOR 2007-01-04 11:38:39.000000000 -0700
10     @@ -1 +1,7 @@
11     -MONITOR UPS@localhost 1 upsmaster { $nut{MasterPass} } master
12     +{
13     + if ( ($nut{Master} || 'yes') ne 'no' ) {
14     + $OUT = "MONITOR UPS\@localhost 1 upsmaster $nut{MasterPass} master";
15     + } else {
16     + $OUT = "MONITOR $nut{SlaveUPS} 1 upsslave $nut{SlavePass} slave";
17     + }
18     +}

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