#!/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 <