[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.
Saverio Proto
(spam-protected)
Fri Apr 26 11:19:57 CEST 2013
Ferry sorry for discussing it here. We are a bit offtopic.
This is just the init.d file for openwrt.
btw it was pushed
https://github.com/openwrt-routing/packages/commit/16f7810f11cbf74e433f74beb95f9861e4e56fa1
Saverio
2013/4/26 Ferry Huberts <(spam-protected)>:
> 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