Fix mesh protocol condition
This commit is contained in:
parent
9301df8b4a
commit
c4a284abb1
|
@ -238,7 +238,7 @@ function start {
|
||||||
|
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
if [[ "$MESH_DEFAULT_PROTOCOL" == 'bmx6' ]]; then
|
if grep -q "bmx6" $MESH_DEFAULT_PROTOCOL; then
|
||||||
systemctl restart bmx6
|
systemctl restart bmx6
|
||||||
else
|
else
|
||||||
systemctl restart bmx7
|
systemctl restart bmx7
|
||||||
|
|
Loading…
Reference in New Issue