diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-15 11:26:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-15 11:26:40 +0100 |
commit | 10bcf51362a05be881db315ca1892ea1f3384b63 (patch) | |
tree | 9d2fc8a33b14e27e0368331d5a957b7273ddae00 /src | |
parent | 396adffb3fc0611ca2ad2d300b282a70641a901f (diff) | |
parent | b4e0c1b6a35b18d47a8324addbbb99b473f6511a (diff) | |
download | vyos-1x-10bcf51362a05be881db315ca1892ea1f3384b63.tar.gz vyos-1x-10bcf51362a05be881db315ca1892ea1f3384b63.zip |
Merge pull request #2828 from vyos/mergify/bp/sagitta/pr-2824
T5901: Add DHCP base_path dir during first boot (backport #2824)
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/dhcp/dhclient-exit-hooks.d/03-vyos-dhclient-hook | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/dhcp/dhclient-exit-hooks.d/03-vyos-dhclient-hook b/src/etc/dhcp/dhclient-exit-hooks.d/03-vyos-dhclient-hook index 35721d009..d5e6462ba 100644 --- a/src/etc/dhcp/dhclient-exit-hooks.d/03-vyos-dhclient-hook +++ b/src/etc/dhcp/dhclient-exit-hooks.d/03-vyos-dhclient-hook @@ -29,6 +29,7 @@ fi if [ "$RUN" = "yes" ]; then BASE_PATH=$(python3 -c "from vyos.defaults import directories; print(directories['isc_dhclient_dir'])") + mkdir -p ${BASE_PATH} LOG=${BASE_PATH}/dhclient_"$interface"."$proto"lease echo `date` > $LOG |