From 7e3744c8a7a0616d5528f34cc91bd94b4454d209 Mon Sep 17 00:00:00 2001 From: Hector van der Aa Date: Wed, 29 Jul 2026 18:04:39 +0100 Subject: [PATCH] Added connect on startup behaviro and removed $UID] --- main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 8dc332e..2bc7c33 100644 --- a/main.py +++ b/main.py @@ -153,8 +153,6 @@ def mountDisk(state: AppState) -> None: "mount", f"{node}1", f"/mnt/{state.config.diskSerial}", - "-o", - "uid=$UID", ], check=True, ) @@ -188,6 +186,9 @@ def main() -> None: ledThread.start() + if state.config.diskSerial != "": + mountDisk(state) + while True: try: event = state.diskEventQueue.get_nowait()