Beginning of babel mesh in the interactive installer
This commit is contained in:
parent
834e64f8b4
commit
ea253b37bd
|
@ -67,6 +67,7 @@ LOCAL_NETWORK_STATIC_IP_ADDRESS=
|
||||||
ROUTER_IP_ADDRESS=
|
ROUTER_IP_ADDRESS=
|
||||||
ENABLE_CJDNS=
|
ENABLE_CJDNS=
|
||||||
ENABLE_BATMAN=
|
ENABLE_BATMAN=
|
||||||
|
ENABLE_BABEL=
|
||||||
DEBIAN_REPO=
|
DEBIAN_REPO=
|
||||||
NAMESERVER1=
|
NAMESERVER1=
|
||||||
NAMESERVER2=
|
NAMESERVER2=
|
||||||
|
@ -171,6 +172,9 @@ function save_configuration_file {
|
||||||
if [ $ENABLE_BATMAN ]; then
|
if [ $ENABLE_BATMAN ]; then
|
||||||
echo "ENABLE_BATMAN=$ENABLE_BATMAN" >> $CONFIGURATION_FILE
|
echo "ENABLE_BATMAN=$ENABLE_BATMAN" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
|
if [ $ENABLE_BABEL ]; then
|
||||||
|
echo "ENABLE_BABEL=$ENABLE_BABEL" >> $CONFIGURATION_FILE
|
||||||
|
fi
|
||||||
echo "DEBIAN_REPO=$DEBIAN_REPO" >> $CONFIGURATION_FILE
|
echo "DEBIAN_REPO=$DEBIAN_REPO" >> $CONFIGURATION_FILE
|
||||||
echo "NAMESERVER1=$NAMESERVER1" >> $CONFIGURATION_FILE
|
echo "NAMESERVER1=$NAMESERVER1" >> $CONFIGURATION_FILE
|
||||||
echo "NAMESERVER2=$NAMESERVER2" >> $CONFIGURATION_FILE
|
echo "NAMESERVER2=$NAMESERVER2" >> $CONFIGURATION_FILE
|
||||||
|
@ -506,6 +510,7 @@ function interactive_configuration {
|
||||||
if [[ $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
|
if [[ $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
|
||||||
ENABLE_BATMAN="yes"
|
ENABLE_BATMAN="yes"
|
||||||
ENABLE_CJDNS="no"
|
ENABLE_CJDNS="no"
|
||||||
|
ENABLE_BABEL="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
data=$(tempfile 2>/dev/null)
|
data=$(tempfile 2>/dev/null)
|
||||||
|
@ -1384,6 +1389,9 @@ function read_configuration {
|
||||||
if grep -q "ENABLE_BATMAN" $CONFIGURATION_FILE; then
|
if grep -q "ENABLE_BATMAN" $CONFIGURATION_FILE; then
|
||||||
ENABLE_BATMAN=$(grep "ENABLE_BATMAN" $CONFIGURATION_FILE | awk -F '=' '{print $2}')
|
ENABLE_BATMAN=$(grep "ENABLE_BATMAN" $CONFIGURATION_FILE | awk -F '=' '{print $2}')
|
||||||
fi
|
fi
|
||||||
|
if grep -q "ENABLE_BABEL" $CONFIGURATION_FILE; then
|
||||||
|
ENABLE_BABEL=$(grep "ENABLE_BABEL" $CONFIGURATION_FILE | awk -F '=' '{print $2}')
|
||||||
|
fi
|
||||||
if grep -q "BATMAN_IPV6" $CONFIGURATION_FILE; then
|
if grep -q "BATMAN_IPV6" $CONFIGURATION_FILE; then
|
||||||
BATMAN_IPV6=$(grep "BATMAN_IPV6" $CONFIGURATION_FILE | awk -F '=' '{print $2}')
|
BATMAN_IPV6=$(grep "BATMAN_IPV6" $CONFIGURATION_FILE | awk -F '=' '{print $2}')
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue