diff -Nur -x '*.orig' -x '*.rej' e-smith-pptpd-1.12.0/createlinks mezzanine_patched_e-smith-pptpd-1.12.0/createlinks --- e-smith-pptpd-1.12.0/createlinks 2006-03-15 14:44:34.000000000 -0500 +++ mezzanine_patched_e-smith-pptpd-1.12.0/createlinks 2006-03-21 15:46:45.000000000 -0500 @@ -50,6 +50,7 @@ safe_symlink("adjust", "root/etc/e-smith/events/$event/services2adjust/masq"); } +event_link("clear-pptp-interfaces", "local", "50"); templates2events("/etc/rc.d/init.d/masq", qw(ip-up.pptpd ip-down)); diff -Nur -x '*.orig' -x '*.rej' e-smith-pptpd-1.12.0/root/etc/e-smith/events/actions/clear-pptp-interfaces mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/events/actions/clear-pptp-interfaces --- e-smith-pptpd-1.12.0/root/etc/e-smith/events/actions/clear-pptp-interfaces 1969-12-31 19:00:00.000000000 -0500 +++ mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/events/actions/clear-pptp-interfaces 2006-03-21 15:45:55.000000000 -0500 @@ -0,0 +1,3 @@ +#! /bin/sh + +exec /sbin/e-smith/config delprop pptpd Interfaces diff -Nur -x '*.orig' -x '*.rej' e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/lcp-echo-options mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/lcp-echo-options --- e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/lcp-echo-options 1969-12-31 19:00:00.000000000 -0500 +++ mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/lcp-echo-options 2006-03-21 15:48:10.000000000 -0500 @@ -0,0 +1,2 @@ +lcp-echo-interval 15 +lcp-echo-failure 4 diff -Nur -x '*.orig' -x '*.rej' e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/multilink mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/multilink --- e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/multilink 2003-06-18 16:15:50.000000000 -0400 +++ mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/multilink 1969-12-31 19:00:00.000000000 -0500 @@ -1,4 +0,0 @@ -{# We don't know why, but it seems that enabling multilink -# helps PPTP reliability - something to do with packet -# fragmentation} -multilink diff -Nur -x '*.orig' -x '*.rej' e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/passive mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/passive --- e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/passive 2006-03-15 14:44:34.000000000 -0500 +++ mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/passive 2006-03-21 15:49:53.000000000 -0500 @@ -1 +1,4 @@ -passive +{ + my $passive = $pptpd{Passive} || 'enabled'; + $OUT = ($passive eq 'enabled') ? "passive" : "# passive mode is disabled in db"; +}