Remove comment leaders from DHCPCD interface

We need to set the interface in DHCPCD, comments were inadvertently added a while ago.
This commit is contained in:
Dan Schaper 2017-02-01 18:33:42 -08:00 committed by GitHub
parent 5333895a9f
commit 26ad23f01e

View file

@ -361,7 +361,7 @@ It is also possible to use a DHCP reservation, but if you are going to do that,
setDHCPCD() { setDHCPCD() {
# Append these lines to dhcpcd.conf to enable a static IP # Append these lines to dhcpcd.conf to enable a static IP
echo "## interface ${PIHOLE_INTERFACE} echo "interface ${PIHOLE_INTERFACE}
static ip_address=${IPV4_ADDRESS} static ip_address=${IPV4_ADDRESS}
static routers=${IPv4gw} static routers=${IPv4gw}
static domain_name_servers=${IPv4gw}" | tee -a /etc/dhcpcd.conf >/dev/null static domain_name_servers=${IPv4gw}" | tee -a /etc/dhcpcd.conf >/dev/null