From 1dd9f0747eb15f333765ac74e1309ba6d4d3017f Mon Sep 17 00:00:00 2001 From: bcambl Date: Wed, 7 Sep 2016 19:41:54 -0600 Subject: [PATCH] add gateway to interface configuration pi-hole@9cb4e8b broke #593 original commit 8550b76 --- automated install/basic-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 0caa8bf7..3963b6ef 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -358,6 +358,7 @@ setStaticIPv4() { ${SUDO} echo "ONBOOT=yes" >> ${IFCFG_FILE} ${SUDO} echo "IPADDR=$IPADDR" >> ${IFCFG_FILE} ${SUDO} echo "PREFIX=$CIDR" >> ${IFCFG_FILE} + ${SUDO} echo "GATEWAY=$IPv4gw" >> ${IFCFG_FILE} ${SUDO} echo "USERCTL=no" >> ${IFCFG_FILE} ${SUDO} ip addr replace dev "$piholeInterface" "$IPv4addr" if [ -x "$(command -v nmcli)" ];then