From e5a1afaa26c480708d5dc1babd548e9b4e84174b Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 20 Nov 2016 17:31:27 +0100 Subject: [PATCH 1/2] Added another missing "done" --- gravity.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gravity.sh b/gravity.sh index 4d440a4a..22749463 100755 --- a/gravity.sh +++ b/gravity.sh @@ -307,7 +307,7 @@ gravity_reload() { # Reload hosts file echo ":::" - echo "::: Refresh lists in dnsmasq..." + echo -n "::: Refresh lists in dnsmasq..." #ensure /etc/dnsmasq.d/01-pihole.conf is pointing at the correct list! #First escape forward slashes in the path: @@ -315,7 +315,8 @@ gravity_reload() { #Now replace the line in dnsmasq file # sed -i "s/^addn-hosts.*/addn-hosts=$adList/" /etc/dnsmasq.d/01-pihole.conf - pihole restartdns + pihole restartdns + echo "done." } for var in "$@"; do From cdee6d55d368ccec3e15c5d6b5d92cf4cf11c22b Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 20 Nov 2016 17:40:22 +0100 Subject: [PATCH 2/2] Minor change --- gravity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index 22749463..d05dddea 100755 --- a/gravity.sh +++ b/gravity.sh @@ -316,7 +316,7 @@ gravity_reload() { # sed -i "s/^addn-hosts.*/addn-hosts=$adList/" /etc/dnsmasq.d/01-pihole.conf pihole restartdns - echo "done." + echo " done!" } for var in "$@"; do