I am sorry for Turkish reply :)

Here is the English version:

As a guess, ppp.sh may be the generic setting location and applications may
override these type of settings.

Regards,
Bayram

On 3 April 2010 00:25, Bayram Kurumahmut <bayram.kurumah...@gmail.com>wrote:

> Selam Murat,
>
> Nasilsin?
>
> ppp.sh generic bir dosya olarak kabul edilip, application specific olan
> script lerde bu gibi variable lar overwrite ediliyor olabilir.
>
> Yani bu tarz bisey dusunerek yapmis olabilirler.
>
> Hadi kolay gelsin,
> Bayram
>
>
> On 2 April 2010 22:02, Murat Sezgin <sezginmu...@gmail.com> wrote:
>
>> Hi,
>>
>> I am proposing the below patch for pptp package. Because this ifname
>> correction is done in the ppp.sh script for all the ppp based
>> protocols.
>>
>> Thanks,
>> Murat Sezgin
>> www.ubicom.com
>>
>>
>> diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh
>> index e38c242..6008a48 100644
>> --- a/package/pptp/files/pptp.sh
>> +++ b/package/pptp/files/pptp.sh
>> @@ -31,11 +31,6 @@ setup_interface_pptp() {
>>        config_get netmask "$config" netmask
>>        [ -z "$netmask" -o -z "$device" ] || ifconfig $device netmask
>> $netmask
>>
>> -       # make sure the network state references the correct ifname
>> -       scan_ppp "$config"
>> -       config_get ifname "$config" ifname
>> -       uci_set_state network "$config" ifname "$ifname"
>> -
>>        config_get mtu "$config" mtu
>>        mtu=${mtu:-1452}
>>        start_pppd "$config" \
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>>
>
>
>
> --
> Bayram
>



-- 
Bayram
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to