mirror of
https://git.disroot.org/pranav/pybatmesh.git
synced 2024-12-14 18:29:03 +05:30
Pranav Jerry
d0389e5638
Added arg and config option to manually set gw_mode. When gateway_mode is auto, a temporary config will be added, and after a ten sec delay, naxalnet will check if systemd-networkd shows a 'routable' connection. If the connection is routable, gw_mode will be set to server; or client otherwise.
39 lines
1.3 KiB
Python
39 lines
1.3 KiB
Python
# This file is part of naxalnet.
|
|
# Copyright (C) 2021 The naxalnet Authors
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
"""
|
|
naxalnet
|
|
========
|
|
|
|
Create mesh networks with batman-adv, systemd-networkd and iwd.
|
|
See README.md for documentation.
|
|
"""
|
|
|
|
# GUIDE FOR CHANGING __version__
|
|
#
|
|
# All commits in master should have the version as
|
|
# {last published version tag}.a{1,2,3,...}
|
|
# example: 0.2.0a3 should mean 3 commits after tag v0.2.0
|
|
#
|
|
# All commits in other branches should
|
|
# have {version in master}.dev{1,2,...}
|
|
# example: 0.2.0a3.dev1 should mean 1 commit in the new
|
|
# branch after the commit in master.
|
|
#
|
|
# In case you forgot to change the version, skip the number
|
|
# and put the next number in the next commit.
|
|
__version__ = "0.4.0a5.dev2"
|