From 0caa44e9797dab02397c1fa0afd06d82cc69a56f Mon Sep 17 00:00:00 2001 From: bcambl Date: Mon, 7 Nov 2016 12:54:31 -0600 Subject: [PATCH] write ifcfg instead of appending --- automated install/basic-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 14d271ef..abeb7fbe 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -423,7 +423,7 @@ setStaticIPv4() { echo "DNS1=$PIHOLE_DNS_1" echo "DNS2=$PIHOLE_DNS_2" echo "USERCTL=no" - }>> "${IFCFG_FILE}" + }> "${IFCFG_FILE}" ip addr replace dev "${PIHOLE_INTERFACE}" "${IPV4_ADDRESS}" if [ -x "$(command -v nmcli)" ];then # Tell NetworkManager to read our new sysconfig file