Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Commit

Permalink
Fixed typo in start_ebpf_router.py
Browse files Browse the repository at this point in the history
  • Loading branch information
r-caamano committed Jan 9, 2024
1 parent 01945b9 commit ce00989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/scripts/start_ebpf_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def set_local_rules(resolver):
os.system("sed -i 's/ExecStartPre\=\-\/opt\/netfoundry\/ebpf\/scripts\/tproxy_splicer_startup.sh/#ExecStartPre\=\-\/opt\/netfoundry\/ebpf\/scripts\/tproxy_splicer_startup.sh/g' /etc/systemd/system/ziti-router.service")
test1 = 1
if(args.lanIf):
test1 = os.system("sed -i '/ExecStart=/i ExecStartPre\=\-\/opt\/openziti\/bin\/start_ebpf_router.py --lanif " + lanIf + "' /etc/systemd/system/ziti-router.service")
test1 = os.system("sed -i '/ExecStart=/i ExecStartPre\=\-\/opt\/openziti\/bin\/start_ebpf_router.py --lanIf " + lanIf + "' /etc/systemd/system/ziti-router.service")
else:
test1 = os.system("sed -i '/ExecStart=/i ExecStartPre\=\-\/opt\/openziti\/bin\/start_ebpf_router.py' /etc/systemd/system/ziti-router.service")
if(not test1):
Expand Down

0 comments on commit ce00989

Please sign in to comment.