For now only use Batman until other mesh types are tested
This commit is contained in:
parent
7c62a974e1
commit
2bce42cb14
|
@ -521,27 +521,27 @@ function interactive_configuration {
|
||||||
save_configuration_file
|
save_configuration_file
|
||||||
|
|
||||||
if [[ $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
|
if [[ $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
|
||||||
ENABLE_BATMAN="no"
|
ENABLE_BATMAN="yes"
|
||||||
ENABLE_CJDNS="no"
|
ENABLE_CJDNS="no"
|
||||||
ENABLE_BABEL="no"
|
ENABLE_BABEL="no"
|
||||||
|
|
||||||
data=$(tempfile 2>/dev/null)
|
#data=$(tempfile 2>/dev/null)
|
||||||
trap "rm -f $data" 0 1 2 5 15
|
#trap "rm -f $data" 0 1 2 5 15
|
||||||
dialog --backtitle "Freedombone Configuration" \
|
#dialog --backtitle "Freedombone Configuration" \
|
||||||
--radiolist "Select your type of mesh network:" 10 40 3 \
|
# --radiolist "Select your type of mesh network:" 10 40 3 \
|
||||||
1 "Babel" off \
|
# 1 "Babel" off \
|
||||||
2 "B.A.T.M.A.N. Advanced" on \
|
# 2 "B.A.T.M.A.N. Advanced" on \
|
||||||
3 "cjdns" off 2> $data
|
# 3 "cjdns" off 2> $data
|
||||||
sel=$?
|
#sel=$?
|
||||||
case $sel in
|
#case $sel in
|
||||||
1) exit 1;;
|
# 1) exit 1;;
|
||||||
255) exit 1;;
|
# 255) exit 1;;
|
||||||
esac
|
#esac
|
||||||
case $(cat $data) in
|
#case $(cat $data) in
|
||||||
1) ENABLE_BABEL="yes";;
|
# 1) ENABLE_BABEL="yes";;
|
||||||
2) ENABLE_BATMAN="yes";;
|
# 2) ENABLE_BATMAN="yes";;
|
||||||
3) ENABLE_CJDNS="yes";;
|
# 3) ENABLE_CJDNS="yes";;
|
||||||
esac
|
#esac
|
||||||
save_configuration_file
|
save_configuration_file
|
||||||
|
|
||||||
data=$(tempfile 2>/dev/null)
|
data=$(tempfile 2>/dev/null)
|
||||||
|
|
|
@ -56,7 +56,7 @@ DEBIAN_FILE_NAME="bone-debian-8.1-console-armhf-2015-07-12-2gb"
|
||||||
# Downloads for the Debian installer
|
# Downloads for the Debian installer
|
||||||
DOWNLOAD_LINK1="https://rcn-ee.com/rootfs/bb.org/testing/2015-07-12/console/$DEBIAN_FILE_NAME.img.xz"
|
DOWNLOAD_LINK1="https://rcn-ee.com/rootfs/bb.org/testing/2015-07-12/console/$DEBIAN_FILE_NAME.img.xz"
|
||||||
|
|
||||||
ROOTFS='bbb'
|
ROOTFS='rootfs'
|
||||||
|
|
||||||
PARTITION_NUMBER=1
|
PARTITION_NUMBER=1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue