From d6e19ce0a112bd2403ad0cb274808ce3e749b459 Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Thu, 17 Aug 2023 17:43:48 -0500 Subject: Add warnings for PreUp, PostUp, PreDown, PostDown, and SaveConfig configuration, no systemd-networkd eqiv --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 724b479..b592aa9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -190,6 +190,10 @@ int main(int argc, char ** argv) { output_path = std::filesystem::absolute(output_path); } + for(std::string const & warning : cfg.warnings) { + err("warning: %s", warning.c_str()); + } + write_systemd_file(cfg.netdev, output_path, false); write_systemd_file(cfg.network, output_path, false); write_systemd_file(cfg.private_keyfile, output_path, true); -- cgit v1.2.3