large update

This commit is contained in:
2025-06-04 18:49:17 +02:00
parent 68580d0ded
commit f682858051
28 changed files with 274 additions and 1172 deletions

View File

@ -2,13 +2,13 @@
"""
This script belongs to wirepy and is for the auto start of the tunnel
"""
import logging
from subprocess import CompletedProcess, run
from wp_app_config import AppConfig, logging
from common_tools import ConfigManager
from shared_libs.wp_app_config import AppConfig
from shared_libs.common_tools import ConfigManager, LogConfig
ConfigManager.init(AppConfig.SETTINGS_FILE)
LogConfig.logger(ConfigManager.get("logfile"))
if ConfigManager.get("autostart") != "off":
process: CompletedProcess[str] = run(
["nmcli", "connection", "up", ConfigManager.get("autostart")],