diff --git a/config_panel.toml b/config_panel.toml index d8518a1..421908b 100644 --- a/config_panel.toml +++ b/config_panel.toml @@ -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." diff --git a/scripts/config b/scripts/config index fef8388..9a37a8d 100644 --- a/scripts/config +++ b/scripts/config @@ -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