From 3aba1607b248baa1cd241a2ca2583e736cf70259 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Thu, 17 Nov 2016 23:04:46 +0100 Subject: [PATCH] Removed debug echos --- pihole | 3 --- 1 file changed, 3 deletions(-) diff --git a/pihole b/pihole index 310efb7e..fca1ed63 100755 --- a/pihole +++ b/pihole @@ -120,16 +120,13 @@ piholeEnable() { if [[ $# > 1 ]] ; then if [ -x "$(command -v nohup)" ]; then if [[ ${2} == *"s"* ]] ; then - echo "Seconds" tt=${2%"s"} echo "::: Blocking will be reenabled in ${tt} seconds" - echo "sleep ${tt}; pihole enable" nohup bash -c "sleep ${tt}; pihole enable" /dev/null & elif [[ ${2} == *"m"* ]] ; then tt=${2%"m"} echo "::: Blocking will be reenabled in ${tt} minutes" tt=$((${tt}*60)) - echo "sleep ${tt}; pihole enable" nohup bash -c "sleep ${tt}; pihole enable" /dev/null & else echo "::: Unknown format for delayed reactivation of the blocking!"