Create default mesh protocol file if needed
This commit is contained in:
parent
c4a284abb1
commit
4d21771969
|
@ -238,6 +238,10 @@ function start {
|
||||||
|
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
|
if [ ! -f $MESH_DEFAULT_PROTOCOL ]; then
|
||||||
|
echo 'bmx7' > $MESH_DEFAULT_PROTOCOL
|
||||||
|
fi
|
||||||
|
|
||||||
if grep -q "bmx6" $MESH_DEFAULT_PROTOCOL; then
|
if grep -q "bmx6" $MESH_DEFAULT_PROTOCOL; then
|
||||||
systemctl restart bmx6
|
systemctl restart bmx6
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue