mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-03-23 16:54:03 +00:00
Fixed two more typos
This commit is contained in:
parent
96f2aa1803
commit
291ca0874a
1 changed files with 2 additions and 2 deletions
4
pihole
4
pihole
|
@ -120,11 +120,11 @@ piholeEnable() {
|
|||
if [[ $# > 1 ]] ; then
|
||||
if [[ ${2} == *"s"* ]] ; then
|
||||
tt=${2%"s"}
|
||||
echo "::: Blocking will be reenabled in ${tt} seconds"
|
||||
echo "::: Blocking will be re-enabled in ${tt} seconds"
|
||||
nohup bash -c "sleep ${tt}; pihole enable" </dev/null &>/dev/null &
|
||||
elif [[ ${2} == *"m"* ]] ; then
|
||||
tt=${2%"m"}
|
||||
echo "::: Blocking will be reenabled in ${tt} minutes"
|
||||
echo "::: Blocking will be re-enabled in ${tt} minutes"
|
||||
tt=$((${tt}*60))
|
||||
nohup bash -c "sleep ${tt}; pihole enable" </dev/null &>/dev/null &
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue