mirror of
https://git.disroot.org/pranav/pybatmesh.git
synced 2025-01-12 01:32:09 +05:30
renamed systemd-networkd config files
This commit is contained in:
parent
4db6d9457f
commit
e4a7fa5d3f
@ -30,8 +30,8 @@ ExecStartPre=/usr/bin/sleep 2
|
|||||||
ExecStart=/usr/bin/naxalnet
|
ExecStart=/usr/bin/naxalnet
|
||||||
# Reload systemd-networkd after naxalnet exits
|
# Reload systemd-networkd after naxalnet exits
|
||||||
ExecStartPost=/usr/bin/networkctl reload
|
ExecStartPost=/usr/bin/networkctl reload
|
||||||
# Delete all files in /run/systemd/network
|
# Delete all files starting with mesh.* in /run/systemd/network
|
||||||
ExecStop=/usr/bin/find /run/systemd/network -type f -delete
|
ExecStop=/usr/bin/find /run/systemd/network -type f -delete -name "mesh.*"
|
||||||
# Delete the interfaces created...
|
# Delete the interfaces created...
|
||||||
ExecStopPost=/usr/bin/networkctl delete bridge0 bat0
|
ExecStopPost=/usr/bin/networkctl delete bridge0 bat0
|
||||||
# ... and reload the configuration files.
|
# ... and reload the configuration files.
|
||||||
|
@ -36,4 +36,4 @@ See README.md for documentation.
|
|||||||
#
|
#
|
||||||
# In case you forgot to change the version, skip the number
|
# In case you forgot to change the version, skip the number
|
||||||
# and put the next number in the next commit.
|
# and put the next number in the next commit.
|
||||||
__version__ = "0.3.0a1.dev1"
|
__version__ = "0.3.0a1.dev3"
|
||||||
|
15
setup.cfg
15
setup.cfg
@ -19,6 +19,7 @@ packages = find:
|
|||||||
python_requires = >=3.6
|
python_requires = >=3.6
|
||||||
install_requires =
|
install_requires =
|
||||||
dasbus
|
dasbus
|
||||||
|
# pathlib, configparser and argparse are in the standard library
|
||||||
configparser
|
configparser
|
||||||
pathlib
|
pathlib
|
||||||
argparse
|
argparse
|
||||||
@ -34,10 +35,10 @@ lib/systemd/system =
|
|||||||
/etc/naxalnet =
|
/etc/naxalnet =
|
||||||
naxalnet.conf.example
|
naxalnet.conf.example
|
||||||
share/naxalnet/networkd =
|
share/naxalnet/networkd =
|
||||||
systemd-networkd/01-batman.netdev
|
systemd-networkd/mesh.01-batman.netdev
|
||||||
systemd-networkd/02-bridge.netdev
|
systemd-networkd/mesh.02-bridge.netdev
|
||||||
systemd-networkd/03-wireless-ad-hoc.network
|
systemd-networkd/mesh.03-wireless-ad-hoc.network
|
||||||
systemd-networkd/04-batman.network
|
systemd-networkd/mesh.04-batman.network
|
||||||
systemd-networkd/05-wireless-ap.network
|
systemd-networkd/mesh.05-wireless-ap.network
|
||||||
systemd-networkd/06-eth.network
|
systemd-networkd/mesh.06-eth.network
|
||||||
systemd-networkd/07-bridge.network
|
systemd-networkd/mesh.07-bridge.network
|
||||||
|
Loading…
x
Reference in New Issue
Block a user