summaryrefslogtreecommitdiff
path: root/src/etc/dhcp/dhclient-exit-hooks.d
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-08-05 09:01:10 +0200
committerChristian Breunig <christian@breunig.cc>2023-08-05 09:28:03 +0200
commit96132f582ef698b84d08e5ff207e508ed0f9c5f7 (patch)
tree1f4f09492d1b3b5617ed34a315b8e1e49e4a7cb0 /src/etc/dhcp/dhclient-exit-hooks.d
parent782e400d6f276a8a4ee51c92f02e01e7695f55fb (diff)
downloadvyos-1x-96132f582ef698b84d08e5ff207e508ed0f9c5f7.tar.gz
vyos-1x-96132f582ef698b84d08e5ff207e508ed0f9c5f7.zip
dhcp: T5428: remove hardcoded path to client runtime directories
Diffstat (limited to 'src/etc/dhcp/dhclient-exit-hooks.d')
-rw-r--r--src/etc/dhcp/dhclient-exit-hooks.d/03-vyatta-dhclient-hook2
1 files changed, 1 insertions, 1 deletions
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 \