summaryrefslogtreecommitdiffstats
path: root/rc.inet1.conf
diff options
context:
space:
mode:
authorDarren 'Tadgy' Austin <darren@afterdark.org.uk>2023-06-21 14:55:41 +0100
committerDarren 'Tadgy' Austin <darren@afterdark.org.uk>2023-06-21 14:55:41 +0100
commit5925f2bcc500f5198b5c00ab4e635a59bef7a413 (patch)
tree767a3b49a8549683af995b3a9e47fe2d579c896f /rc.inet1.conf
parent8f43a741a36e59b8a9560ff2c4f3e5da2b8dd72b (diff)
downloadslacknetsetup-master.tar.xz
Add support for a DHCP_OPTS parameter.HEADmaster
This commit allows an interface specific DHCP_OPTS parameter to set additional dhcpcd command line options where they may be required on a local network. It is still recommended to use the supported DHCP_* options in preference to this option, but it is being added to aid customisations. Thanks to ljb643 on LQ for the bug report regarding DHCP_IPADDR and the suggestion of a DHCP_OPTS parameter.
Diffstat (limited to 'rc.inet1.conf')
-rw-r--r--rc.inet1.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/rc.inet1.conf b/rc.inet1.conf
index 54d0d3e..b3f7cdd 100644
--- a/rc.inet1.conf
+++ b/rc.inet1.conf
@@ -196,6 +196,10 @@ GATEWAY6=""
# server is not found (ipv4ll link-local
# adresses in the IP range 169.254.0.0/16 are
# also known as "zeroconf" addresses)
+#DHCP_OPTS[4]="" # Add these options to the dhcpcd command line.
+ # Use this only if extra options are required
+ # on your local network and there is a no more
+ # specific DHCP_* option detailed above
#SLAAC_TIMEOUT[4]="15" # The default timeout for auto configuration to
# wait for the interface to come up is 15 sec.
# Increase the timeout if required.