Fix mesh protocol condition

This commit is contained in:
Bob Mottram 2018-01-15 13:35:10 +00:00
parent 9301df8b4a
commit c4a284abb1
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ function start {
systemctl restart nginx
if [[ "$MESH_DEFAULT_PROTOCOL" == 'bmx6' ]]; then
if grep -q "bmx6" $MESH_DEFAULT_PROTOCOL; then
systemctl restart bmx6
else
systemctl restart bmx7