From ee114b307590a94b1c24d983b9e694fca412580b Mon Sep 17 00:00:00 2001 From: bcambl Date: Sun, 16 Oct 2016 13:28:14 -0600 Subject: [PATCH] use an excluded extension for ifcfg backup --- 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 0d6ea97b..bfa4eee2 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -360,7 +360,7 @@ setStaticIPv4() { IPADDR=$(echo "${IPv4_address}" | cut -f1 -d/) CIDR=$(echo "${IPv4_address}" | cut -f2 -d/) # Backup existing interface configuration: - cp "${IFCFG_FILE}" "${IFCFG_FILE}".backup-"$(date +%Y-%m-%d-%H%M%S)" + cp "${IFCFG_FILE}" "${IFCFG_FILE}".pihole.orig" # Build Interface configuration file: { echo "# Configured via Pi-Hole installer"