anaconda/anaconda-40.22.3.13/dracut/anaconda-copy-dhclient.sh
2024-11-14 21:39:56 -08:00

7 lines
244 B
Bash
Executable file

#!/bin/sh
# Copy over dhclient config files to the anaconda environment
. /lib/anaconda-lib.sh
[ -d /etc/dhcp ] && copytree /etc/dhcp /run/initramfs/state/etc/dhcp/
[ -f /etc/dhclient.conf ] && cp /etc/dhclient.conf /run/initramfs/state/etc/