From 96132f582ef698b84d08e5ff207e508ed0f9c5f7 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 5 Aug 2023 09:01:10 +0200 Subject: dhcp: T5428: remove hardcoded path to client runtime directories --- src/etc/dhcp/dhclient-exit-hooks.d/03-vyatta-dhclient-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/etc/dhcp/dhclient-exit-hooks.d') diff --git a/src/etc/dhcp/dhclient-exit-hooks.d/03-vyatta-dhclient-hook b/src/etc/dhcp/dhclient-exit-hooks.d/03-vyatta-dhclient-hook index 49bb18372..e828b433e 100644 --- a/src/etc/dhcp/dhclient-exit-hooks.d/03-vyatta-dhclient-hook +++ b/src/etc/dhcp/dhclient-exit-hooks.d/03-vyatta-dhclient-hook @@ -28,7 +28,7 @@ if [[ $reason =~ ^(REBOOT6|INIT6|EXPIRE6|RELEASE6|STOP6|INFORM6|BOUND6|REBIND6|D fi if [ "$RUN" = "yes" ]; then - LOG=/var/lib/dhcp/dhclient_"$interface"."$proto"lease + LOG=/run/dhclient/dhclient_"$interface"."$proto"lease echo `date` > $LOG for i in reason interface new_expiry new_dhcp_lease_time medium \ -- cgit v1.2.3