瀏覽代碼

For now only use Batman until other mesh types are tested

Bob Mottram 9 年之前
父節點
當前提交
2bce42cb14
共有 2 個文件被更改,包括 19 次插入19 次删除
  1. 18
    18
      src/freedombone-config
  2. 1
    1
      src/freedombone-prep

+ 18
- 18
src/freedombone-config 查看文件

@@ -521,27 +521,27 @@ function interactive_configuration {
521 521
   save_configuration_file
522 522
 
523 523
   if [[ $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
524
-      ENABLE_BATMAN="no"
524
+      ENABLE_BATMAN="yes"
525 525
       ENABLE_CJDNS="no"
526 526
       ENABLE_BABEL="no"
527 527
 
528
-      data=$(tempfile 2>/dev/null)
529
-      trap "rm -f $data" 0 1 2 5 15
530
-      dialog --backtitle "Freedombone Configuration" \
531
-             --radiolist "Select your type of mesh network:" 10 40 3 \
532
-             1 "Babel" off \
533
-             2 "B.A.T.M.A.N. Advanced" on \
534
-             3 "cjdns" off 2> $data
535
-      sel=$?
536
-      case $sel in
537
-          1) exit 1;;
538
-          255) exit 1;;
539
-      esac
540
-      case $(cat $data) in
541
-          1) ENABLE_BABEL="yes";;
542
-          2) ENABLE_BATMAN="yes";;
543
-          3) ENABLE_CJDNS="yes";;
544
-      esac
528
+      #data=$(tempfile 2>/dev/null)
529
+      #trap "rm -f $data" 0 1 2 5 15
530
+      #dialog --backtitle "Freedombone Configuration" \
531
+      #       --radiolist "Select your type of mesh network:" 10 40 3 \
532
+      #       1 "Babel" off \
533
+      #       2 "B.A.T.M.A.N. Advanced" on \
534
+      #       3 "cjdns" off 2> $data
535
+      #sel=$?
536
+      #case $sel in
537
+      #    1) exit 1;;
538
+      #    255) exit 1;;
539
+      #esac
540
+      #case $(cat $data) in
541
+      #    1) ENABLE_BABEL="yes";;
542
+      #    2) ENABLE_BATMAN="yes";;
543
+      #    3) ENABLE_CJDNS="yes";;
544
+      #esac
545 545
       save_configuration_file
546 546
 
547 547
       data=$(tempfile 2>/dev/null)

+ 1
- 1
src/freedombone-prep 查看文件

@@ -56,7 +56,7 @@ DEBIAN_FILE_NAME="bone-debian-8.1-console-armhf-2015-07-12-2gb"
56 56
 # Downloads for the Debian installer
57 57
 DOWNLOAD_LINK1="https://rcn-ee.com/rootfs/bb.org/testing/2015-07-12/console/$DEBIAN_FILE_NAME.img.xz"
58 58
 
59
-ROOTFS='bbb'
59
+ROOTFS='rootfs'
60 60
 
61 61
 PARTITION_NUMBER=1
62 62