Commit 6680f8fd authored by Sigmund Augdal's avatar Sigmund Augdal

Provide full path to bfdd-control as the PATH seems to be different inside the init scripts

parent 996e4d47
......@@ -30,7 +30,7 @@ def check_state(interface):
def set_state(new_state):
if new_state not in ("up", "down", "admin"):
raise ValueError("Invalid new state: {}".format(new_state))
subprocess.call(["bfdd-control", "session", "all", "state", new_state])
subprocess.call(["/usr/local/bin/bfdd-control", "session", "all", "state", new_state])
def main(logfile, interface):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment