[Olsr-dev] [PATCH] fix olsr.init script function olsrd_write_plparam() as it wrongly removes dashes. olsrd deamon did not start when the nameservice plugin was active.

Ferry Huberts (spam-protected)
Fri Apr 26 11:15:10 CEST 2013


Ok guys,

What's the deal with this patch?
I'm guessing it's OpenWRT specific since I don't see that file in our repo?

On 25/04/13 17:41, Saverio Proto wrote:
> Can you send me the UCI configuration that was not working for you
> before the patch ?
> 
> thanks
> 
> Saverio
> 
> 
> 2013/4/25 Thomas Huehn <(spam-protected)>:
>> Signed-off-by: Thomas Huehn <(spam-protected)>
>> ---
>>  olsrd/files/olsrd.init | 5 ++++-
>>  1 file changed, 4 insertions(+), 1 deletion(-)
>>
>> diff --git a/olsrd/files/olsrd.init b/olsrd/files/olsrd.init
>> index 7ffe33c..f4641aa 100644
>> --- a/olsrd/files/olsrd.init
>> +++ b/olsrd/files/olsrd.init
>> @@ -153,8 +153,11 @@ olsrd_write_plparam() {
>>                 return 1
>>         fi
>>
>> -       oldIFS="$IFS"; IFS='-_'; set -- $option; IFS="$oldIFS"
>> +       oldIFS="$IFS"
>> +       IFS='-_'
>> +       set -- $option
>>         option="$*"
>> +       IFS="$oldIFS"
>>         _option="$option"
>>
>>         if [ "$option" = 'hosts' ]; then
>> --
>> 1.8.1.3
>>
> 

-- 
Ferry Huberts




More information about the Olsr-dev mailing list