1 |
diff -Nur --no-dereference smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/db/configuration/migrate/80bandwidthd smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/db/configuration/migrate/80bandwidthd |
2 |
--- smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/db/configuration/migrate/80bandwidthd 2013-12-27 00:43:31.000000000 -0500 |
3 |
+++ smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/db/configuration/migrate/80bandwidthd 2022-06-29 01:07:09.788000000 -0400 |
4 |
@@ -3,6 +3,11 @@ |
5 |
|
6 |
my $rec = $DB->get('bandwidthd') || $DB->new_record('bandwidthd', {type => 'service'}); |
7 |
|
8 |
+ if (my $grapCutofff = $DB->get_prop_and_delete('bandwidthd', 'grapCutofff')) { |
9 |
+ $rec->merge_props('grapCutoff', $grapCutofff); |
10 |
+ } |
11 |
+ |
12 |
+ |
13 |
my $pw = $rec->prop('DbPassword'); |
14 |
return "" if $pw; |
15 |
$pw = MIME::Base64::encode(int( (1000000000000000) * rand() )); |
16 |
diff -Nur --no-dereference smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/templates/etc/bandwidthd.conf/09options smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/templates/etc/bandwidthd.conf/09options |
17 |
--- smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/templates/etc/bandwidthd.conf/09options 2013-12-26 14:19:13.000000000 -0500 |
18 |
+++ smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/templates/etc/bandwidthd.conf/09options 2022-06-29 01:02:24.014000000 -0400 |
19 |
@@ -14,7 +14,7 @@ |
20 |
# ip before we bother to graph it |
21 |
#graph_cutoff 1024 |
22 |
{ |
23 |
- my $cutoff = $bandwidthd{'grapCutofff'} || "1024"; |
24 |
+ my $cutoff = $bandwidthd{'grapCutoff'} || "1024"; |
25 |
$OUT .= "graph_cutoff $cutoff\n" |
26 |
|
27 |
} |
28 |
diff -Nur --no-dereference smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/templates.metadata/etc/bandwidthd.conf smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/templates.metadata/etc/bandwidthd.conf |
29 |
--- smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/templates.metadata/etc/bandwidthd.conf 2013-12-27 00:49:31.000000000 -0500 |
30 |
+++ smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/templates.metadata/etc/bandwidthd.conf 2022-06-29 01:10:00.155000000 -0400 |
31 |
@@ -1,3 +1,3 @@ |
32 |
-PERMS="0750" |
33 |
+PERMS="0640" |
34 |
UID="root" |
35 |
GID="www" |