mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
spelling updates
This commit is contained in:
parent
c83dd3ccd7
commit
e199f6db87
1 changed files with 3 additions and 3 deletions
6
pihole
6
pihole
|
@ -132,21 +132,21 @@ piholeStatus() {
|
||||||
if [[ "${1}" == "web" ]] ; then
|
if [[ "${1}" == "web" ]] ; then
|
||||||
echo 0;
|
echo 0;
|
||||||
else
|
else
|
||||||
echo "::: pihole is Disabled";
|
echo "::: Pi-hole is Disabled";
|
||||||
fi
|
fi
|
||||||
elif [[ $(cat /etc/dnsmasq.d/01-pihole.conf | grep "addn-hosts=/") ]] ; then
|
elif [[ $(cat /etc/dnsmasq.d/01-pihole.conf | grep "addn-hosts=/") ]] ; then
|
||||||
#list set
|
#list set
|
||||||
if [[ "${1}" == "web" ]] ; then
|
if [[ "${1}" == "web" ]] ; then
|
||||||
echo 1;
|
echo 1;
|
||||||
else
|
else
|
||||||
echo "::: pihole is Enabled";
|
echo "::: Pi-hole is Enabled";
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
#addn-host not found
|
#addn-host not found
|
||||||
if [[ "${1}" == "web" ]] ; then
|
if [[ "${1}" == "web" ]] ; then
|
||||||
echo 99
|
echo 99
|
||||||
else
|
else
|
||||||
echo "::: no hosts file linked to dnsmasq, adding it in enabled state"
|
echo "::: No hosts file linked to dnsmasq, adding it in enabled state"
|
||||||
fi
|
fi
|
||||||
#add addn-host= to dnsmasq
|
#add addn-host= to dnsmasq
|
||||||
echo "addn-hosts=/etc/pihole/gravity.list" >> /etc/dnsmasq.d/01-pihole.conf
|
echo "addn-hosts=/etc/pihole/gravity.list" >> /etc/dnsmasq.d/01-pihole.conf
|
||||||
|
|
Loading…
Reference in a new issue