From 27e5f2798d4a584c2655458ba646baedd8a38cfb Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 18 Nov 2016 17:33:46 +0100 Subject: [PATCH 1/3] Added missing "done." output --- gravity.sh | 1 + 1 file changed, 1 insertion(+) mode change 100755 => 100644 gravity.sh diff --git a/gravity.sh b/gravity.sh old mode 100755 new mode 100644 index 15e157f6..4f9c2910 --- a/gravity.sh +++ b/gravity.sh @@ -264,6 +264,7 @@ gravity_hostFormat() { # Copy the file over as /etc/pihole/gravity.list so dnsmasq can use it cp ${piholeDir}/${accretionDisc} ${adList} + echo " done!" } # blackbody - remove any remnant files from script processes From 3fa05293fc466865a00140eaf65babae682b32f1 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 18 Nov 2016 17:37:13 +0100 Subject: [PATCH 2/3] Fixed file permissions --- gravity.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 gravity.sh diff --git a/gravity.sh b/gravity.sh old mode 100644 new mode 100755 From 4945f33254755effa6a11c95787cb5804406dc0e Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 18 Nov 2016 17:39:34 +0100 Subject: [PATCH 3/3] Added "-n" to first echo call --- gravity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index 4f9c2910..8ca2a3da 100755 --- a/gravity.sh +++ b/gravity.sh @@ -240,7 +240,7 @@ gravity_unique() { gravity_hostFormat() { # Format domain list as "192.168.x.x domain.com" - echo "::: Formatting domains into a HOSTS file..." + echo -n "::: Formatting domains into a HOSTS file..." # Check vars from setupVars.conf to see if we're using IPv4, IPv6, Or both. if [[ -n "${IPV4_ADDRESS}" && -n "${IPV6_ADDRESS}" ]];then