bitwarden

This commit is contained in:
jaydee
2024-11-29 11:53:48 +01:00
parent e7f77793a9
commit 3a5944fdfc

View File

@@ -85,8 +85,11 @@ if not host in backups:
print("Test connection")
try:
hm = socket.gethostbyaddr("omv.home.lan")
HOST_UP = os.system(f"ping -c 1 omv.home.lan") == 0
HOST_UP = os.system(f"ping -c 1 -w 2 omv.home.lan") == 0
print(HOST_UP)
HOST_UP = os.system(f"ping -c 1 -w 2 morefine.home.lan") == 0
print(HOST_UP)
print(hm)
ret = os.system(f"ping -c 3 -w 2 morefine.home.lan")
print(ret)