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"
|
||||
|
||||
[main]
|
||||
|
@ -26,7 +26,7 @@ name = "PiHole configuration"
|
|||
help = "If the file is overwritten, a backup will be created."
|
||||
|
||||
[main.overwrite_files.overwrite_phpfpm]
|
||||
ask = "Overwrite the php-fpm config file?"
|
||||
ask = "Overwrite the PHP-FPM config file?"
|
||||
type = "boolean"
|
||||
default = true
|
||||
help = "If the file is overwritten, a backup will be created."
|
||||
|
|
|
@ -165,10 +165,4 @@ apply_config() {
|
|||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
# SELECT THE ACTION FOLLOWING THE GIVEN ARGUMENT
|
||||
#=================================================
|
||||
|
||||
case $1 in
|
||||
show) show_config;;
|
||||
apply) apply_config;;
|
||||
esac
|
||||
ynh_app_config_run $1
|
||||
|
|
Loading…
Add table
Reference in a new issue