mirror of
https://gitlab.sectorq.eu/jaydee/auto_import.git
synced 2025-12-14 10:34:53 +01:00
build
This commit is contained in:
@@ -87,8 +87,9 @@ myCmd = "mount| grep /share/external/DEV3301_1"
|
||||
while True:
|
||||
status, output = subprocess.getstatusoutput(myCmd)
|
||||
print(status)
|
||||
time.sleep(10)
|
||||
if status == 0:
|
||||
if status != 0:
|
||||
time.sleep(10)
|
||||
else:
|
||||
print("Device mounted")
|
||||
myCmd = "/sbin/hal_app --se_buzzer enc_id=0,mode=101;sleep 1;/sbin/hal_app --se_buzzer enc_id=0,mode=101;sleep 1;/sbin/hal_app --se_buzzer enc_id=0,mode=101"
|
||||
status, output = subprocess.getstatusoutput(myCmd)
|
||||
|
||||
Reference in New Issue
Block a user