renamed systemd-networkd config files

This commit is contained in:
Pranav Jerry 2021-09-04 12:59:26 +05:30
parent 4db6d9457f
commit e4a7fa5d3f
Signed by: pranav
GPG Key ID: F1DCDC4FED0A0C5B
10 changed files with 11 additions and 10 deletions

View File

@ -30,8 +30,8 @@ ExecStartPre=/usr/bin/sleep 2
ExecStart=/usr/bin/naxalnet
# Reload systemd-networkd after naxalnet exits
ExecStartPost=/usr/bin/networkctl reload
# Delete all files in /run/systemd/network
ExecStop=/usr/bin/find /run/systemd/network -type f -delete
# Delete all files starting with mesh.* in /run/systemd/network
ExecStop=/usr/bin/find /run/systemd/network -type f -delete -name "mesh.*"
# Delete the interfaces created...
ExecStopPost=/usr/bin/networkctl delete bridge0 bat0
# ... and reload the configuration files.

View File

@ -36,4 +36,4 @@ See README.md for documentation.
#
# In case you forgot to change the version, skip the number
# and put the next number in the next commit.
__version__ = "0.3.0a1.dev1"
__version__ = "0.3.0a1.dev3"

View File

@ -19,6 +19,7 @@ packages = find:
python_requires = >=3.6
install_requires =
dasbus
# pathlib, configparser and argparse are in the standard library
configparser
pathlib
argparse
@ -34,10 +35,10 @@ lib/systemd/system =
/etc/naxalnet =
naxalnet.conf.example
share/naxalnet/networkd =
systemd-networkd/01-batman.netdev
systemd-networkd/02-bridge.netdev
systemd-networkd/03-wireless-ad-hoc.network
systemd-networkd/04-batman.network
systemd-networkd/05-wireless-ap.network
systemd-networkd/06-eth.network
systemd-networkd/07-bridge.network
systemd-networkd/mesh.01-batman.netdev
systemd-networkd/mesh.02-bridge.netdev
systemd-networkd/mesh.03-wireless-ad-hoc.network
systemd-networkd/mesh.04-batman.network
systemd-networkd/mesh.05-wireless-ap.network
systemd-networkd/mesh.06-eth.network
systemd-networkd/mesh.07-bridge.network