/[smecontribs]/rpms/smeserver-bandwidthd/contribs10/smeserver-bandwidthd-2.0.1.2-8536.patch
ViewVC logotype

Contents of /rpms/smeserver-bandwidthd/contribs10/smeserver-bandwidthd-2.0.1.2-8536.patch

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


Revision 1.1 - (show annotations) (download)
Tue Oct 20 11:11:12 2020 UTC (3 years, 6 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-bandwidthd-2_0_1_2-12_el7_sme, smeserver-bandwidthd-2_0_1_2-8_el7_sme, smeserver-bandwidthd-2_0_1_2-9_el7_sme, smeserver-bandwidthd-2_0_1_2-15_el7_sme, smeserver-bandwidthd-2_0_1_2-17_el7_sme, smeserver-bandwidthd-2_0_1_2-11_el7_sme, smeserver-bandwidthd-2_0_1_2-14_el7_sme, smeserver-bandwidthd-2_0_1_2-13_el7_sme, smeserver-bandwidthd-2_0_1_2-16_el7_sme, HEAD
Initial import

1 diff -Nur smeserver-bandwidthd-2.0.1.2.old/root/etc/cron.d/bandwidthd_mysql_purge smeserver-bandwidthd-2.0.1.2/root/etc/cron.d/bandwidthd_mysql_purge
2 --- smeserver-bandwidthd-2.0.1.2.old/root/etc/cron.d/bandwidthd_mysql_purge 2016-12-15 16:06:35.616000000 -0500
3 +++ smeserver-bandwidthd-2.0.1.2/root/etc/cron.d/bandwidthd_mysql_purge 2016-12-15 16:07:44.826000000 -0500
4 @@ -1 +1 @@
5 -5 5 * * 4 root /bin/sh /usr/share/doc/bandwidthd-2.0.1.1/phphtdocs/bd_mysql_purge.sh |mysql `/sbin/e-smith/db configuration getprop bandwidthd DbName`|grep -v 'status OK'
6 +5 5 * * 4 root /bin/sh /usr/share/doc/bandwidthd-2.0.1.1/phphtdocs/bd_mysql_purge.sh |mysql `/sbin/e-smith/db configuration getprop bandwidthd DbName`|grep -vE '(Msg_text|already up to date|status.*OK)'
7 diff -Nur smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/templates/etc/bandwidthd.conf/07subnet smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/templates/etc/bandwidthd.conf/07subnet
8 --- smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/templates/etc/bandwidthd.conf/07subnet 2016-12-15 16:06:35.618000000 -0500
9 +++ smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/templates/etc/bandwidthd.conf/07subnet 2016-12-15 16:21:01.445000000 -0500
10 @@ -14,9 +14,9 @@
11
12 foreach $rec (@LocalAccess)
13 {
14 - $OUT .= "subnet $rec \n"
15 - unless $rec eq "127.0.0.1";
16 -
17 + next if $rec eq "127.0.0.1";
18 + $rec= ($rec=~ /[.\d]+ [.\d]+/ )? $rec : "$rec 255.255.255.255";
19 + $OUT .= "subnet $rec \n";
20 }
21
22 #$OUT .= "subnet $localAccess \n";

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