Added connect on startup behaviro and removed $UID]
This commit is contained in:
5
main.py
5
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()
|
||||
|
||||
Reference in New Issue
Block a user