mirror of
https://github.com/hassio-addons/addon-pi-hole.git
synced 2025-05-07 04:11:22 +00:00
🔨 Re-branding
This commit is contained in:
parent
c464c604bf
commit
a66273b85b
4 changed files with 10 additions and 9 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
[![Support Frenck on Patreon][patreon-shield]][patreon]
|
||||
|
||||
Network-wide ad blocking using your Hass.io instance
|
||||
Network-wide ad blocking
|
||||
|
||||
## About
|
||||
|
||||
|
@ -30,15 +30,16 @@ on a dedicated Raspberry Pi connected to your home network. Pi-hole lets you
|
|||
block advertisements for every device that connects to your network without the
|
||||
need for any client-side software.
|
||||
|
||||
This add-on is a port of Pi-hole to be able to run on Hass.io and is based on
|
||||
Alpine Linux and is using Docker.
|
||||
This add-on is a port of Pi-hole to be able to run on Home Assistant and is
|
||||
based on Alpine Linux and is using Docker.
|
||||
|
||||
## Installation
|
||||
|
||||
The installation of this add-on is pretty straightforward and not different in
|
||||
comparison to installing any other Home Assistant add-on.
|
||||
|
||||
1. **Ensure your Hass.io device has a [static IP and static external DNS servers!](https://github.com/home-assistant/hassos/blob/dev/Documentation/network.md#static-ip)**
|
||||
1. **Ensure your Home Assistant device has a
|
||||
[static IP and static external DNS servers!](https://github.com/home-assistant/hassos/blob/dev/Documentation/network.md#static-ip)**
|
||||
1. Search for the "Pi-hole" add-on in the Supervisor add-on store
|
||||
and install it.
|
||||
1. Start the "Pi-hole" add-on
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
[![Support Frenck on Patreon][patreon-shield]][patreon]
|
||||
|
||||
Network-wide ad blocking using your Hass.io instance
|
||||
Network-wide ad blocking
|
||||
|
||||
## About
|
||||
|
||||
|
@ -17,8 +17,8 @@ on a dedicated Raspberry Pi connected to your home network. Pi-hole lets you
|
|||
block advertisements for every device that connects to your network without the
|
||||
need for any client-side software.
|
||||
|
||||
This add-on is a port of Pi-hole to be able to run on Hass.io and is based on
|
||||
Alpine Linux and is using Docker.
|
||||
This add-on is a port of Pi-hole to be able to run on Home Assistant and
|
||||
is based on Alpine Linux and is using Docker.
|
||||
|
||||
[Click here for the full documentation][docs]
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "Pi-hole",
|
||||
"version": "dev",
|
||||
"slug": "pi-hole",
|
||||
"description": "Network-wide ad blocking using your Hass.io instance",
|
||||
"description": "Network-wide ad blocking",
|
||||
"url": "https://github.com/hassio-addons/addon-pi-hole",
|
||||
"webui": "[PROTO:ssl]://[HOST]:[PORT:4865]",
|
||||
"ingress": true,
|
||||
|
|
|
@ -13,7 +13,7 @@ elif bashio::fs.file_exists '/data/hostname'; then
|
|||
hostname=$(</data/hostname)
|
||||
fi
|
||||
|
||||
bashio::log.debug 'Patching Pi-hole for use with Hass.io...'
|
||||
bashio::log.debug 'Patching Pi-hole for use with Home Assistant...'
|
||||
sed -i 's/Are you sure you want to send a poweroff command to your Pi-Hole\?/Are you sure you want to send a stop command to your Pi-Hole add-on\?/g' "${base}/scripts/pi-hole/js/settings.js"
|
||||
sed -i 's/Are you sure you want to send a reboot command to your Pi-Hole\?/Are you sure you want to send a restart command to your Pi-Hole add-on\?/g' "${base}/scripts/pi-hole/js/settings.js"
|
||||
sed -i 's/Designed For Raspberry Pi/Modified for Home Assistant/g' "${base}/scripts/pi-hole/php/header.php"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue