From 12192865c3ca0e1c2139afabab508e0087b14982 Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Wed, 23 Feb 2022 20:19:37 -0500 Subject: Initial --- etc/local.d/00-dhcpcd.start | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 etc/local.d/00-dhcpcd.start (limited to 'etc/local.d/00-dhcpcd.start') diff --git a/etc/local.d/00-dhcpcd.start b/etc/local.d/00-dhcpcd.start new file mode 100755 index 0000000..65d8957 --- /dev/null +++ b/etc/local.d/00-dhcpcd.start @@ -0,0 +1,44 @@ +#!/bin/sh +. /etc/local.d/vars.sh +# Not actually starting dhcpcd here, just writing out the configuration +# file based on what we have in vars +# +# This file also installs the `radvd.hook` to enable ipv6 router advertisements +# on the lan interface. + +# Write out our dhcpcd conf, take note that I've specifically disabled ipv4 +# here. I could enable it, however to keep a static ipv4 address the same as +# with a previous router it makes sense to have a DHCPv4 server not using a +# duid. ( So, udhcpc is still used ) +cat > /etc/dhcpcd.conf <