diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-12-23 17:33:55 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-12-23 17:36:34 +0100 |
commit | 843ebb323c99ddea200c12d143640e4e3c1bcd89 (patch) | |
tree | ce87f442365dd796e0893cbcc31aa22026c454a1 /src/etc/dhcp/dhclient-exit-hooks.d | |
parent | d0149dd020c198fb2951d830cc3cabdb2ccb0aaf (diff) | |
download | vyos-1x-843ebb323c99ddea200c12d143640e4e3c1bcd89.tar.gz vyos-1x-843ebb323c99ddea200c12d143640e4e3c1bcd89.zip |
ipsec: T2816: do not explicitly call intepreter for python script
Our python scripts use the shebang logic to set an intepreter - we should
rely on this and not use an external interpreter in front of the helper.
Diffstat (limited to 'src/etc/dhcp/dhclient-exit-hooks.d')
-rwxr-xr-x | src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook b/src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook index 61a89e62a..1f1926e17 100755 --- a/src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook +++ b/src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook @@ -23,7 +23,7 @@ DHCP_HOOK_IFLIST="/tmp/ipsec_dhcp_waiting" if [ -f $DHCP_HOOK_IFLIST ] && [ "$reason" == "BOUND" ]; then if grep -qw $interface $DHCP_HOOK_IFLIST; then sudo rm $DHCP_HOOK_IFLIST - sudo python3 /usr/libexec/vyos/conf_mode/vpn_ipsec.py + sudo /usr/libexec/vyos/conf_mode/vpn_ipsec.py exit 0 fi fi |