[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.
This commit is contained in:
parent
a8d42c7b2c
commit
16f7810f11
1 changed files with 4 additions and 1 deletions
|
@ -153,8 +153,11 @@ olsrd_write_plparam() {
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
oldIFS="$IFS"; IFS='-_'; set -- $option; IFS="$oldIFS"
|
oldIFS="$IFS"
|
||||||
|
IFS='-_'
|
||||||
|
set -- $option
|
||||||
option="$*"
|
option="$*"
|
||||||
|
IFS="$oldIFS"
|
||||||
_option="$option"
|
_option="$option"
|
||||||
|
|
||||||
if [ "$option" = 'hosts' ]; then
|
if [ "$option" = 'hosts' ]; then
|
||||||
|
|
Loading…
Reference in a new issue