From 793e4792c26037ca18ca1c6b7bd0dcc7d77003d8 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 28 Dec 2017 00:30:29 +0100 Subject: [PATCH] committing changes in /etc after emerge run Package changes: +net-misc/dhcpcd-6.11.3 --- dhcpcd.conf | 38 ++++++++++++++++++++++++++++++++++++++ init.d/dhcpcd | 17 +++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 dhcpcd.conf create mode 100755 init.d/dhcpcd diff --git a/dhcpcd.conf b/dhcpcd.conf new file mode 100644 index 00000000..aeba3567 --- /dev/null +++ b/dhcpcd.conf @@ -0,0 +1,38 @@ +# A sample configuration for dhcpcd. +# See dhcpcd.conf(5) for details. + +# Allow users of this group to interact with dhcpcd via the control socket. +#controlgroup wheel + +# Inform the DHCP server of our hostname for DDNS. +hostname + +# Use the hardware address of the interface for the Client ID. +#clientid +# or +# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361. +# Some non-RFC compliant DHCP servers do not reply with this set. +# In this case, comment out duid and enable clientid above. +duid + +# Persist interface configuration when dhcpcd exits. +persistent + +# Rapid commit support. +# Safe to enable by default because it requires the equivalent option set +# on the server to actually work. +option rapid_commit + +# A list of options to request from the DHCP server. +option domain_name_servers, domain_name, domain_search, host_name +option classless_static_routes +# Most distributions have NTP support. +option ntp_servers +# Respect the network MTU. This is applied to DHCP routes. +option interface_mtu + +# A ServerID is required by RFC2131. +require dhcp_server_identifier + +# Generate Stable Private IPv6 Addresses instead of hardware based ones +slaac private diff --git a/init.d/dhcpcd b/init.d/dhcpcd new file mode 100755 index 00000000..d3f4d76b --- /dev/null +++ b/init.d/dhcpcd @@ -0,0 +1,17 @@ +#!/sbin/openrc-run +# Copyright 2007-2008 Roy Marples +# All rights reserved. Released under the 2-clause BSD license. + +command=/sbin/dhcpcd +pidfile=/var/run/dhcpcd.pid +command_args=-q +name="DHCP Client Daemon" + +depend() +{ + provide net + need localmount + use logger network + after bootmisc modules + before dns +} -- 2.39.5