[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)
Thu Apr 25 17:41:19 CEST 2013


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
>




More information about the Olsr-dev mailing list