mirror of
https://github.com/YunoHost-Apps/pihole_ynh.git
synced 2024-09-03 20:05:58 +02:00
commit
993b6a3691
3 changed files with 69 additions and 12 deletions
|
@ -3,6 +3,8 @@
|
||||||
[](https://ci-apps.yunohost.org/jenkins/job/pihole%20%28Community%29/lastBuild/consoleFull)
|
[](https://ci-apps.yunohost.org/jenkins/job/pihole%20%28Community%29/lastBuild/consoleFull)
|
||||||
[](https://install-app.yunohost.org/?app=pihole)
|
[](https://install-app.yunohost.org/?app=pihole)
|
||||||
|
|
||||||
|
*[Lire ce readme en français.](./README_fr.md)*
|
||||||
|
|
||||||
> *This package allow you to install Pi-hole quickly and simply on a YunoHost server.
|
> *This package allow you to install Pi-hole quickly and simply on a YunoHost server.
|
||||||
If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.*
|
If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.*
|
||||||
|
|
||||||
|
|
64
README_fr.md
Normal file
64
README_fr.md
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
# Pi-hole pour YunoHost
|
||||||
|
|
||||||
|
[](https://ci-apps.yunohost.org/jenkins/job/pihole%20%28Community%29/lastBuild/consoleFull)
|
||||||
|
[](https://install-app.yunohost.org/?app=pihole)
|
||||||
|
|
||||||
|
*[Read this readme in english.](./README.md)*
|
||||||
|
|
||||||
|
> *Ce package vous permet d'installer Pi-hole rapidement et simplement sur un serveur YunoHost.
|
||||||
|
Si vous n'avez pas YunoHost, merci de regarder [ici](https://yunohost.org/#/install_fr) pour savoir comment l'installer et en profiter.*
|
||||||
|
|
||||||
|
## Résumé
|
||||||
|
Blocage des publicités sur l'ensemble du réseau via votre propre matériel Linux
|
||||||
|
|
||||||
|
**Version embarquée:** 3.1.4
|
||||||
|
|
||||||
|
## Captures d'écran
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
Utiliser le panneau d'administration de votre Pi-hole pour configurer cette application.
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
* Documentation officielle: Impossible à trouver
|
||||||
|
* Pi-hole en tant que serveur DHCP: [dhcp.md](./dhcp.md)
|
||||||
|
* Documentation YunoHost: Il n'y a pas d'autre documentation, n'hésitez pas à contribuer.
|
||||||
|
|
||||||
|
## Fonctionnalités spécifiques à YunoHost
|
||||||
|
|
||||||
|
* Accès privé au panneau d'administration.
|
||||||
|
|
||||||
|
#### Support multi-utilisateurs
|
||||||
|
|
||||||
|
#### Architectures supportées.
|
||||||
|
|
||||||
|
* Testé sur x86_64
|
||||||
|
|
||||||
|
## Limitations
|
||||||
|
|
||||||
|
* Activer DHCP avec Pi-hole nécessite une configuration manuelle de votre routeur.
|
||||||
|
|
||||||
|
## Informations additionnelles
|
||||||
|
|
||||||
|
## Liens
|
||||||
|
|
||||||
|
* Reporter un bug: https://github.com/YunoHost-Apps/pihole_ynh/issues
|
||||||
|
* Site de Pi-hole: https://pi-hole.net/
|
||||||
|
* Site de YunoHost: https://yunohost.org/
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Informations à l'intention des développeurs
|
||||||
|
----------------
|
||||||
|
|
||||||
|
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/pihole_ynh/tree/testing).
|
||||||
|
|
||||||
|
Pour tester la branche testing, merci de procéder ainsi.
|
||||||
|
```
|
||||||
|
sudo yunohost app install https://github.com/YunoHost-Apps/pihole_ynh/tree/testing --verbose
|
||||||
|
ou
|
||||||
|
sudo yunohost app upgrade pihole -u https://github.com/YunoHost-Apps/pihole_ynh/tree/testing --verbose
|
||||||
|
```
|
|
@ -47,20 +47,11 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
# MANAGE FAILURE OF THE SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
if [ $change_domain -eq 0 ]
|
# Exit if an error occurs during the execution of the script
|
||||||
then
|
ynh_abort_if_errors
|
||||||
# Backup the current version of the app
|
|
||||||
ynh_backup_before_upgrade
|
|
||||||
ynh_clean_setup () {
|
|
||||||
# restore it if the upgrade fails
|
|
||||||
ynh_restore_upgradebackup
|
|
||||||
}
|
|
||||||
# Exit if an error occurs during the execution of the script
|
|
||||||
ynh_abort_if_errors
|
|
||||||
fi
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD MODIFICATIONS
|
# STANDARD MODIFICATIONS
|
||||||
|
|
Loading…
Add table
Reference in a new issue