Default to bmx6 on mesh. It looks more stable

This commit is contained in:
Bob Mottram 2018-01-15 14:15:09 +00:00
parent 8fd134ed2a
commit 3559682fcd
2 changed files with 2 additions and 2 deletions

View File

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

View File

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