diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-22 02:55:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-22 02:55:39 +0100 |
commit | 470949042cc90856adb62f2671e04e3165fc8063 (patch) | |
tree | e577a02af2278fdc686930a13421f68abe332fd6 /net-misc/dhcp/files | |
parent | eb509e1a15f595f667e8d177ddb73311084af6c0 (diff) |
gentoo auto-resync : 22:05:2023 - 02:55:39
Diffstat (limited to 'net-misc/dhcp/files')
-rw-r--r-- | net-misc/dhcp/files/dhcpd.init5 | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net-misc/dhcp/files/dhcpd.init5 b/net-misc/dhcp/files/dhcpd.init5 index f0ea9b0c7904..66b29cd3bb00 100644 --- a/net-misc/dhcp/files/dhcpd.init5 +++ b/net-misc/dhcp/files/dhcpd.init5 @@ -77,11 +77,9 @@ start() { local leasefile="$(get_var lease-file-name /var/lib/dhcp/${SVCNAME}.leases)" checkpath -f -o dhcp:dhcp "${chroot}${leasefile}" - # Setup LD_PRELOAD so name resolution works in our chroot. if [ -n "${chroot}" ] ; then checkpath -d -o root:root -m 755 "${chroot}"/dev "${chroot}"/etc "${chroot}"/proc cp -pP /etc/localtime /etc/resolv.conf "${chroot}"/etc/ - export LD_PRELOAD="${LD_PRELOAD} libresolv.so libnss_dns.so" if ! mountinfo -q "${chroot}/proc" ; then mount --bind /proc "${chroot}/proc" fi |