From ca1e721c9ee3e9d0daa3dcabc7e8d7a0a4a72ddc Mon Sep 17 00:00:00 2001 From: Pranav Jerry Date: Tue, 7 Sep 2021 18:45:11 +0530 Subject: [PATCH] fixed logging issue and another bug There was a problem with indentation which made the line starting adhoc not being run at all. Updated CHANGELOG Moved some things to other places log.py is back! It isn't needed, but it doesn't do any harm anyway. --- CHANGELOG.md | 6 ++++-- README.md | 11 +++++------ naxalnet/__init__.py | 2 +- naxalnet/config.py | 3 +++ naxalnet/daemon.py | 4 +--- naxalnet/iwd.py | 10 ++++------ naxalnet/log.py | 38 ++++++++++++++++++++++++++++++++++++++ naxalnet/scripts.py | 41 ++++++++++------------------------------- 8 files changed, 66 insertions(+), 49 deletions(-) create mode 100644 naxalnet/log.py diff --git a/CHANGELOG.md b/CHANGELOG.md index c2538b5..03bbce2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,11 @@ # Changelog -## [Unreleased][] - 2021-09-06 +## [Unreleased][] - 2021-09-07 +- 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. + otherwise - New dependency `python3-systemd` - Fixed dependency order in systemd service - Added `--verbose` argument diff --git a/README.md b/README.md index 07151d4..2b2a3fd 100644 --- a/README.md +++ b/README.md @@ -18,13 +18,12 @@ network.