From da45720bf5d5f6165334c1aa3a57d2d31c77b8c7 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 25 Sep 2021 10:07:29 +0200 Subject: ipsec: T2816: ipsec-dhclient-hook should use vyos.util.read_file() / write_file() --- src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'src/etc') 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 a7a9a2ce6..5cd9321ef 100755 --- a/src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook +++ b/src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook @@ -35,19 +35,14 @@ fi python3 - <