summaryrefslogtreecommitdiff
path: root/src/etc/dhcp/dhclient-enter-hooks.d/99-run-user-hooks
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-11 13:04:38 +0100
committerGitHub <noreply@github.com>2023-11-11 13:04:38 +0100
commit9f92b9ff69477fa93a87f49666a1f7b79949d585 (patch)
tree8a8dd70128f973f5828060aae3db9975d902184b /src/etc/dhcp/dhclient-enter-hooks.d/99-run-user-hooks
parentb8b3a39449a98f1ca6d3e0b6d65b59ffc3edcfab (diff)
parent0054e17282c7317182d2d710f9f129a179e99364 (diff)
downloadvyos-1x-9f92b9ff69477fa93a87f49666a1f7b79949d585.tar.gz
vyos-1x-9f92b9ff69477fa93a87f49666a1f7b79949d585.zip
Merge pull request #2473 from vyos/mergify/bp/sagitta/pr-2472
dhclient: T5724: run user hooks using run_hookdir (backport #2472)
Diffstat (limited to 'src/etc/dhcp/dhclient-enter-hooks.d/99-run-user-hooks')
-rw-r--r--src/etc/dhcp/dhclient-enter-hooks.d/99-run-user-hooks2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/dhcp/dhclient-enter-hooks.d/99-run-user-hooks b/src/etc/dhcp/dhclient-enter-hooks.d/99-run-user-hooks
index b4b4d516d..570758be6 100644
--- a/src/etc/dhcp/dhclient-enter-hooks.d/99-run-user-hooks
+++ b/src/etc/dhcp/dhclient-enter-hooks.d/99-run-user-hooks
@@ -1,5 +1,5 @@
#!/bin/bash
DHCP_PRE_HOOKS="/config/scripts/dhcp-client/pre-hooks.d/"
if [ -d "${DHCP_PRE_HOOKS}" ] ; then
- run-parts "${DHCP_PRE_HOOKS}"
+ run_hookdir "${DHCP_PRE_HOOKS}"
fi