mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-14 02:34:53 +01:00
bitwarden
This commit is contained in:
@@ -104,6 +104,7 @@ hostdown = True
|
|||||||
while hostdown:
|
while hostdown:
|
||||||
HOST_UP = os.system(f"ping -c 1 -w 2 omv.home.lan") == 0
|
HOST_UP = os.system(f"ping -c 1 -w 2 omv.home.lan") == 0
|
||||||
if not HOST_UP:
|
if not HOST_UP:
|
||||||
|
send_magic_packet('88:c9:b3:b5:23:d8')
|
||||||
print("Backup host down, waiting")
|
print("Backup host down, waiting")
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user