Skip to content
Snippets Groups Projects
Commit 16f7810f authored by Thomas Huehn's avatar Thomas Huehn Committed by Bastian Bittorf
Browse files

[PATCH] fix olsr.init script function olsrd_write_plparam() as it wrongly...

[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.
parent a8d42c7b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment