[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.

Henning Rogge (spam-protected)
Fri Apr 26 11:21:21 CEST 2013


On 04/26/2013 11:15 AM, Ferry Huberts wrote:
> 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?

Not at the moment... but I wonder if we should pull all this data into 
our "openwrt" subdirectory.

Henning Rogge

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


-- 
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Fraunhofer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6169 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20130426/60e5af4d/attachment.bin>


More information about the Olsr-dev mailing list