From 843ebb323c99ddea200c12d143640e4e3c1bcd89 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 23 Dec 2022 17:33:55 +0100 Subject: 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. --- src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook') 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 -- cgit v1.2.3