anaconda/anaconda-40.22.3.13/dracut/anaconda-copy-dhclient.sh

8 lines
244 B
Bash
Raw Normal View History

2024-11-14 21:39:56 -08:00
#!/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/