Added connect on startup behaviro and removed $UID]

This commit is contained in:
2026-07-29 18:04:39 +01:00
parent c83cf9c35c
commit 7e3744c8a7

View File

@@ -153,8 +153,6 @@ def mountDisk(state: AppState) -> None:
"mount", "mount",
f"{node}1", f"{node}1",
f"/mnt/{state.config.diskSerial}", f"/mnt/{state.config.diskSerial}",
"-o",
"uid=$UID",
], ],
check=True, check=True,
) )
@@ -188,6 +186,9 @@ def main() -> None:
ledThread.start() ledThread.start()
if state.config.diskSerial != "":
mountDisk(state)
while True: while True:
try: try:
event = state.diskEventQueue.get_nowait() event = state.diskEventQueue.get_nowait()