Remove dead code
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
22dc4efdd9
commit
00cd75cf61
1 changed files with 0 additions and 10 deletions
|
@ -16,16 +16,6 @@ def check_ping_reachable(ip):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
def check_service_active(service):
|
|
||||||
try:
|
|
||||||
subprocess.check_call(['systemctl', 'status', service],
|
|
||||||
stdout=subprocess.DEVNULL,
|
|
||||||
stderr=subprocess.DEVNULL)
|
|
||||||
return True
|
|
||||||
except subprocess.CalledProcessError:
|
|
||||||
return False
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
config = yaml.load(
|
config = yaml.load(
|
||||||
open(Path('~/.config/i3-vpn.json').expanduser()),
|
open(Path('~/.config/i3-vpn.json').expanduser()),
|
||||||
|
|
Loading…
Reference in a new issue