/[smeserver]/rpms/e-smith-base/sme7/e-smith-base-5.0.0-keep_external.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme7/e-smith-base-5.0.0-keep_external.patch

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


Revision 1.1 - (hide annotations) (download)
Sat Jun 30 17:06:00 2012 UTC (12 years, 4 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-base-5_0_0-16_el4_sme, e-smith-base-5_0_0-17_el4_sme, HEAD
Try and keep same external address for pppoe connections [SME: 6262]

1 wellsi 1.1 diff -up e-smith-base-5.2.0/root/etc/e-smith/templates/var/service/wan/pppoe.pppd.conf/ipcp-accept.keep_external e-smith-base-5.2.0/root/etc/e-smith/templates/var/service/wan/pppoe.pppd.conf/ipcp-accept
2     --- e-smith-base-5.2.0/root/etc/e-smith/templates/var/service/wan/pppoe.pppd.conf/ipcp-accept.keep_external 2010-10-06 09:35:50.000000000 -0600
3     +++ e-smith-base-5.2.0/root/etc/e-smith/templates/var/service/wan/pppoe.pppd.conf/ipcp-accept 2010-10-06 09:36:10.000000000 -0600
4     @@ -0,0 +1,2 @@
5     +ipcp-accept-local
6     +ipcp-accept-remote
7     diff -up e-smith-base-5.2.0/root/var/service/wan/run.pppoe.keep_external e-smith-base-5.2.0/root/var/service/wan/run.pppoe
8     --- e-smith-base-5.2.0/root/var/service/wan/run.pppoe.keep_external 2007-01-26 18:56:31.000000000 -0700
9     +++ e-smith-base-5.2.0/root/var/service/wan/run.pppoe 2010-10-06 09:38:09.000000000 -0600
10     @@ -23,9 +23,10 @@ exec 2>&1
11    
12     . run.pppoe.conf
13    
14     +extaddr=$(/sbin/e-smith/config getprop ExternalInterface IPAddress)
15    
16     exec \
17     /usr/local/bin/softlimit -m $PPPD_MLIMIT \
18     /usr/bin/setsid \
19     - /usr/sbin/pppd \
20     + /usr/sbin/pppd ${extaddr:+$extaddr:} \
21     file pppoe.pppd.conf

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