remove start and stop battery in update_Venus.py

This commit is contained in:
Yinyin Liu 2024-07-23 11:46:33 +02:00
parent 3138e82fb8
commit 1a7c06b6b3
1 changed files with 6 additions and 6 deletions

View File

@ -100,15 +100,15 @@ async def main(remote_host):
#### 3. import pika #### #### 3. import pika ####
print("Import pika!") print("Import pika!")
print(await import_pika(remote_host)) print(await import_pika(remote_host))
##### 4. stop battery service ###### # ##### 4. stop battery service ######
print("Stop battery service!") # print("Stop battery service!")
print(await stop_battery_service(remote_host)) # print(await stop_battery_service(remote_host))
##### 5. run rc.local ###### ##### 5. run rc.local ######
print("Run rc.local to set password, timezone and cp battery folder!") print("Run rc.local to set password, timezone and cp battery folder!")
print(await run_rclocal(remote_host)) print(await run_rclocal(remote_host))
##### 6. start battery service ###### # ##### 6. start battery service ######
print("Start battery service!") # print("Start battery service!")
print(await start_battery_service(remote_host)) # print(await start_battery_service(remote_host))
else: else:
sys.exit("It's not Venus GX!") sys.exit("It's not Venus GX!")