/[smeserver]/rpms/e-smith-ntp/sme7/e-smith-ntp-1.16.0-memlimit.patch
ViewVC logotype

Contents of /rpms/e-smith-ntp/sme7/e-smith-ntp-1.16.0-memlimit.patch

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


Revision 1.2 - (show annotations) (download)
Tue Oct 7 18:47:10 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

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 +}

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