mirror of
https://github.com/FAUSheppy/config
synced 2025-12-09 08:08:32 +01:00
fixed device name
This commit is contained in:
@@ -147,7 +147,7 @@ def pr_acct_status():
|
|||||||
def vpn_status():
|
def vpn_status():
|
||||||
if not hl_utils.is_cip():
|
if not hl_utils.is_cip():
|
||||||
out_vpn = hl_utils.shexec("ip r g 8.8.8.8").split("\n")[0]
|
out_vpn = hl_utils.shexec("ip r g 8.8.8.8").split("\n")[0]
|
||||||
if "dev tun0" in out_vpn:
|
if "dev cip_tun" in out_vpn:
|
||||||
out_vpn = hl_utils.color_panel("VPN: In Use",GREEN)
|
out_vpn = hl_utils.color_panel("VPN: In Use",GREEN)
|
||||||
else:
|
else:
|
||||||
out_vpn = hl_utils.color_panel("VPN: Link Down",RED)
|
out_vpn = hl_utils.color_panel("VPN: Link Down",RED)
|
||||||
|
|||||||
Reference in New Issue
Block a user