mirror of
https://git.disroot.org/pranav/pybatmesh.git
synced 2024-11-08 13:42:32 +05:30
remove ipfs url from README.md
I don't use IPFS anymore. If anyone if willing to maintain a copy of this repo on ipfs, send me an email. Small change in CHANGELOG, and edited comments in systemd service. And added a docstring to setup.py so the editor won't complain of missing docstring anymore.
This commit is contained in:
parent
f9c969d233
commit
2a8930ce00
@ -1,12 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## [Unreleased][] - 2021-09-07
|
||||
## [Unreleased][] - 2021-09-09
|
||||
|
||||
- naxalnet is now a daemon! naxalnet will reconfigure the WiFi network
|
||||
every time a WiFi adapter is plugged in or removed
|
||||
- **Logging**: logs to systemd journal when run from systemd, stderr
|
||||
otherwise
|
||||
- New dependency `python3-systemd`
|
||||
- New dependency `python-systemd`
|
||||
- Fixed dependency order in systemd service
|
||||
- Added `--verbose` argument
|
||||
|
||||
|
2
Makefile
2
Makefile
@ -16,7 +16,7 @@ install: build
|
||||
uninstall:
|
||||
$(PIP) uninstall -y naxalnet
|
||||
rm -rf /usr/share/naxalnet /usr/lib/systemd/system/naxalnet.service
|
||||
@-test -d /etc/naxalnet && echo "The directory /etc/naxalnet was not removed." && \
|
||||
@echo "The directory /etc/naxalnet was not removed." && \
|
||||
echo "Do 'sudo make purge' to remove it."
|
||||
|
||||
# remove config files, like apt purge
|
||||
|
@ -116,12 +116,6 @@ git clone https://git.disroot.org/pranav/naxalnet.git
|
||||
cd naxalnet
|
||||
```
|
||||
|
||||
Or, if you have an [IPFS client][ipfs] running, try this instead:
|
||||
|
||||
```sh
|
||||
git clone http://k51qzi5uqu5dlye74be0n9iihwk6sm54vexo7bf7pdr4w811y6mmrcp25djozv.ipns.localhost:8080/naxalnet.git
|
||||
```
|
||||
|
||||
Now, build and install naxalnet:
|
||||
|
||||
```sh
|
||||
|
@ -18,5 +18,6 @@ name = NxMesh
|
||||
[ap]
|
||||
# An AP is started if your machine has more than one WiFi adapter.
|
||||
ssid = MeshWiFi
|
||||
# Note the spelling. It's passwd, not password.
|
||||
passwd = naxalnet256
|
||||
|
||||
|
@ -22,11 +22,12 @@ NotifyAccess=all
|
||||
Restart=on-failure
|
||||
RestartSec=2sec
|
||||
ExecStart=/usr/bin/naxalnet --systemd
|
||||
# Reload systemd-networkd after naxalnet exits
|
||||
# Reload systemd-networkd after naxalnet signals it is ready
|
||||
ExecStartPost=/usr/bin/networkctl reload
|
||||
# Delete all files starting with mesh.* in /run/systemd/network
|
||||
# When naxalnet exits, delete all files starting
|
||||
# with mesh.* in /run/systemd/network
|
||||
ExecStopPost=/usr/bin/find /run/systemd/network -type f -delete -name "mesh.*"
|
||||
# Delete the interfaces created...
|
||||
# Then delete the two interfaces created...
|
||||
ExecStopPost=/usr/bin/networkctl delete bridge0 bat0
|
||||
# ... and reload the configuration files.
|
||||
ExecStopPost=/usr/bin/networkctl reload
|
||||
|
Loading…
Reference in New Issue
Block a user