fix spelling / replace tabs with spaces in help
This commit is contained in:
2
pihole
2
pihole
@@ -128,7 +128,7 @@ piholeEnable() {
|
|||||||
|
|
||||||
piholeStatus() {
|
piholeStatus() {
|
||||||
if [[ $(cat /etc/dnsmasq.d/01-pihole.conf | grep "#addn-hosts=") ]] ; then
|
if [[ $(cat /etc/dnsmasq.d/01-pihole.conf | grep "#addn-hosts=") ]] ; then
|
||||||
if [[ "${1}" == "web" ]] ; then echo 0; else echo "::: pihole is Diabled"; fi
|
if [[ "${1}" == "web" ]] ; then echo 0; else echo "::: pihole is Disabled"; fi
|
||||||
else
|
else
|
||||||
if [[ $(cat /etc/dnsmasq.d/01-pihole.conf | grep "addn-hosts=") ]] ; then
|
if [[ $(cat /etc/dnsmasq.d/01-pihole.conf | grep "addn-hosts=") ]] ; then
|
||||||
if [[ "${1}" == "web" ]] ; then echo 1; else echo "::: pihole is Enabled"; fi
|
if [[ "${1}" == "web" ]] ; then echo 1; else echo "::: pihole is Enabled"; fi
|
||||||
|
Reference in New Issue
Block a user