瀏覽代碼

Default to bmx6 on mesh. It looks more stable

Bob Mottram 7 年之前
父節點
當前提交
3559682fcd
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. 1
    1
      src/freedombone-image-customise
  2. 1
    1
      src/freedombone-mesh-batman

+ 1
- 1
src/freedombone-image-customise 查看文件

837
     chroot "$rootdir" apt-get -yq install traceroute
837
     chroot "$rootdir" apt-get -yq install traceroute
838
 
838
 
839
     # set the default protocol to be used
839
     # set the default protocol to be used
840
-    echo 'bmx7' > $rootdir$MESH_DEFAULT_PROTOCOL
840
+    echo 'bmx6' > $rootdir$MESH_DEFAULT_PROTOCOL
841
 
841
 
842
     sed -i 's|#net.ipv6.conf.all.forwarding.*|net.ipv6.conf.all.forwarding=1|g' $rootdir/etc/sysctl.conf
842
     sed -i 's|#net.ipv6.conf.all.forwarding.*|net.ipv6.conf.all.forwarding=1|g' $rootdir/etc/sysctl.conf
843
     sed -i 's|net.ipv6.conf.all.forwarding.*|net.ipv6.conf.all.forwarding=1|g' $rootdir/etc/sysctl.conf
843
     sed -i 's|net.ipv6.conf.all.forwarding.*|net.ipv6.conf.all.forwarding=1|g' $rootdir/etc/sysctl.conf

+ 1
- 1
src/freedombone-mesh-batman 查看文件

247
     systemctl restart nginx
247
     systemctl restart nginx
248
 
248
 
249
     if [ ! -f $MESH_DEFAULT_PROTOCOL ]; then
249
     if [ ! -f $MESH_DEFAULT_PROTOCOL ]; then
250
-        echo 'bmx7' > $MESH_DEFAULT_PROTOCOL
250
+        echo 'bmx6' > $MESH_DEFAULT_PROTOCOL
251
     fi
251
     fi
252
 
252
 
253
     if grep -q "bmx6" $MESH_DEFAULT_PROTOCOL; then
253
     if grep -q "bmx6" $MESH_DEFAULT_PROTOCOL; then