1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-ntp-1.16.0/root/etc/e-smith/db/configuration/defaults/ntpd/MemLimit mezzanine_patched_e-smith-ntp-1.16.0/root/etc/e-smith/db/configuration/defaults/ntpd/MemLimit |
2 |
--- e-smith-ntp-1.16.0/root/etc/e-smith/db/configuration/defaults/ntpd/MemLimit 2005-06-23 17:19:22.000000000 -0600 |
3 |
+++ mezzanine_patched_e-smith-ntp-1.16.0/root/etc/e-smith/db/configuration/defaults/ntpd/MemLimit 2007-01-22 09:39:40.000000000 -0700 |
4 |
@@ -1 +1 @@ |
5 |
-6000000 |
6 |
+12000000 |
7 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-ntp-1.16.0/root/etc/e-smith/db/configuration/migrate/ntpMemLimit mezzanine_patched_e-smith-ntp-1.16.0/root/etc/e-smith/db/configuration/migrate/ntpMemLimit |
8 |
--- e-smith-ntp-1.16.0/root/etc/e-smith/db/configuration/migrate/ntpMemLimit 1969-12-31 17:00:00.000000000 -0700 |
9 |
+++ mezzanine_patched_e-smith-ntp-1.16.0/root/etc/e-smith/db/configuration/migrate/ntpMemLimit 2007-01-22 09:42:03.000000000 -0700 |
10 |
@@ -0,0 +1,5 @@ |
11 |
+{ |
12 |
+ my $ntpd = $DB->get('ntpd'); |
13 |
+ return unless $ntpd; |
14 |
+ $ntpd->set_prop('MemLimit', 12000000) if $ntpd->prop('MemLimit') < 12000000; |
15 |
+} |