/[smeserver]/rpms/e-smith-nutUPS/sme10/e-smith-nutUPS-2.6.0-bz11215-fix-line-endings.patch
ViewVC logotype

Annotation of /rpms/e-smith-nutUPS/sme10/e-smith-nutUPS-2.6.0-bz11215-fix-line-endings.patch

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


Revision 1.1 - (hide annotations) (download)
Sun Nov 29 13:45:49 2020 UTC (3 years, 11 months ago) by jcrisp
Branch: MAIN
CVS Tags: e-smith-nutUPS-2_6_0-5_el7_sme, e-smith-nutUPS-2_6_0-6_el7_sme
* Sun Nov 29 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-5.sme
- Fix preset line endings in 49-koozali.preset [SME: 11215]

1 jcrisp 1.1 diff -ruN e-smith-nutUPS-2.6.0.old/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/70nutUPS e-smith-nutUPS-2.6.0/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/70nutUPS
2     --- e-smith-nutUPS-2.6.0.old/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/70nutUPS 2020-11-29 14:24:23.562561865 +0100
3     +++ e-smith-nutUPS-2.6.0/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/70nutUPS 2020-11-29 14:32:44.706429799 +0100
4     @@ -4,13 +4,13 @@
5     $master = $nut{Master} || 'yes';
6    
7     if ($nutstatus eq 'enabled') {
8     - $OUT .= "enable nut-server.service" if ($master eq 'yes');
9     - $OUT .= "disable nut-server.service" unless ($master eq 'yes');
10     - $OUT .= "enable nut-monitor.service";
11     + $OUT .= "enable nut-server.service\n" if ($master eq 'yes');
12     + $OUT .= "disable nut-server.service\n" unless ($master eq 'yes');
13     + $OUT .= "enable nut-monitor.service\n";
14     }
15     else
16     {
17     - $OUT .= "enable nut-server.service";
18     - $OUT .= "enable nut-monitor.service";
19     + $OUT .= "disable nut-server.service\n";
20     + $OUT .= "enable nut-monitor.service\n";
21     }
22     }

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