@@ -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