Default to bmx6 on mesh. It looks more stable
This commit is contained in:
parent
8fd134ed2a
commit
3559682fcd
|
@ -837,7 +837,7 @@ initialise_mesh() {
|
||||||
chroot "$rootdir" apt-get -yq install traceroute
|
chroot "$rootdir" apt-get -yq install traceroute
|
||||||
|
|
||||||
# set the default protocol to be used
|
# set the default protocol to be used
|
||||||
echo 'bmx7' > $rootdir$MESH_DEFAULT_PROTOCOL
|
echo 'bmx6' > $rootdir$MESH_DEFAULT_PROTOCOL
|
||||||
|
|
||||||
sed -i 's|#net.ipv6.conf.all.forwarding.*|net.ipv6.conf.all.forwarding=1|g' $rootdir/etc/sysctl.conf
|
sed -i 's|#net.ipv6.conf.all.forwarding.*|net.ipv6.conf.all.forwarding=1|g' $rootdir/etc/sysctl.conf
|
||||||
sed -i 's|net.ipv6.conf.all.forwarding.*|net.ipv6.conf.all.forwarding=1|g' $rootdir/etc/sysctl.conf
|
sed -i 's|net.ipv6.conf.all.forwarding.*|net.ipv6.conf.all.forwarding=1|g' $rootdir/etc/sysctl.conf
|
||||||
|
|
|
@ -247,7 +247,7 @@ function start {
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
if [ ! -f $MESH_DEFAULT_PROTOCOL ]; then
|
if [ ! -f $MESH_DEFAULT_PROTOCOL ]; then
|
||||||
echo 'bmx7' > $MESH_DEFAULT_PROTOCOL
|
echo 'bmx6' > $MESH_DEFAULT_PROTOCOL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if grep -q "bmx6" $MESH_DEFAULT_PROTOCOL; then
|
if grep -q "bmx6" $MESH_DEFAULT_PROTOCOL; then
|
||||||
|
|
Loading…
Reference in New Issue