This commit is contained in:
2025-07-29 10:33:56 +02:00
parent 46e831b372
commit 7196922084

View File

@@ -111,6 +111,13 @@ for l in output.splitlines():
import_drives.append(l) import_drives.append(l)
# Main import loop for each drive # Main import loop for each drive
myCmd = "mount| grep /share/external/DEV3301_1"
while True:
status, output = subprocess.getstatusoutput(myCmd)
print(status)
time.sleep(10)
if status == 90:
for d in import_drives: for d in import_drives:
logging.debug(f"Working on {d}") logging.debug(f"Working on {d}")
_DEV_MOUNT = f"/mnt/{d}" _DEV_MOUNT = f"/mnt/{d}"