mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-14 02:34:53 +01:00
bitwarden
This commit is contained in:
@@ -85,7 +85,8 @@ if not host in backups:
|
|||||||
print("Test connection")
|
print("Test connection")
|
||||||
try:
|
try:
|
||||||
hm = socket.gethostbyaddr("omv.home.lan")
|
hm = socket.gethostbyaddr("omv.home.lan")
|
||||||
|
HOST_UP = os.system(f"ping -c 1 omv.home.lan") == 0
|
||||||
|
print(HOST_UP)
|
||||||
print(hm)
|
print(hm)
|
||||||
ret = os.system(f"ping -c 3 -w 2 morefine.home.lan")
|
ret = os.system(f"ping -c 3 -w 2 morefine.home.lan")
|
||||||
print(ret)
|
print(ret)
|
||||||
|
|||||||
Reference in New Issue
Block a user