mirror of
https://github.com/YunoHost-Apps/pihole_ynh.git
synced 2024-09-03 20:05:58 +02:00
config panel
This commit is contained in:
parent
ed1806d7ca
commit
f85245b4eb
2 changed files with 3 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
||||||
version = "0.1"
|
version = "1.0"
|
||||||
name = "PiHole configuration panel"
|
name = "PiHole configuration panel"
|
||||||
|
|
||||||
[main]
|
[main]
|
||||||
|
@ -26,7 +26,7 @@ name = "PiHole configuration"
|
||||||
help = "If the file is overwritten, a backup will be created."
|
help = "If the file is overwritten, a backup will be created."
|
||||||
|
|
||||||
[main.overwrite_files.overwrite_phpfpm]
|
[main.overwrite_files.overwrite_phpfpm]
|
||||||
ask = "Overwrite the php-fpm config file?"
|
ask = "Overwrite the PHP-FPM config file?"
|
||||||
type = "boolean"
|
type = "boolean"
|
||||||
default = true
|
default = true
|
||||||
help = "If the file is overwritten, a backup will be created."
|
help = "If the file is overwritten, a backup will be created."
|
||||||
|
|
|
@ -165,10 +165,4 @@ apply_config() {
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
#=================================================
|
#=================================================
|
||||||
# SELECT THE ACTION FOLLOWING THE GIVEN ARGUMENT
|
ynh_app_config_run $1
|
||||||
#=================================================
|
|
||||||
|
|
||||||
case $1 in
|
|
||||||
show) show_config;;
|
|
||||||
apply) apply_config;;
|
|
||||||
esac
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue