From 53c576ef32d4157091d93232778454e2529a3adb Mon Sep 17 00:00:00 2001 From: Jiri Brejcha Date: Sat, 12 Oct 2024 22:20:40 +0100 Subject: [PATCH] Server mode nonpersistence is now handled by wlanpi-server package --- debian/changelog | 6 ++++++ fpms/fpms.py | 9 --------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/debian/changelog b/debian/changelog index 6df6fc4..cb72abf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +wlanpi-fpms (1.4.5) unstable; urgency=medium + + * Server mode nonpersistence is now handled by wlanpi-server-nonpersistence.service shipped in wlanpi-server package + + -- Jiri Brejcha Sat, 12 Oct 2024 22:18:00 +0100 + wlanpi-fpms (1.4.4-2) UNRELEASED; urgency=medium * Adds CONTRIBUTORS.md to MANIFEST.in diff --git a/fpms/fpms.py b/fpms/fpms.py index 3c4bba2..b81fa68 100755 --- a/fpms/fpms.py +++ b/fpms/fpms.py @@ -296,15 +296,6 @@ def usage(): env_utils = EnvUtils() g_vars['current_mode'] = env_utils.get_mode(MODE_FILE) - ####################################################################### - # Server mode non-persistence - # If the Pi is in Server schedule mode switch to Classic for next boot - ####################################################################### - - if g_vars['current_mode'] == "server": - schedule_server_to_classic = "/etc/wlanpi-server/scripts/schedule-switch-to-classic" - subprocess.Popen([schedule_server_to_classic]) - ################################## # Static info we want to get once ##################################