diff --git a/conf/ynh-hotspot b/conf/ynh-hotspot index 8c08e17..3f68bef 100644 --- a/conf/ynh-hotspot +++ b/conf/ynh-hotspot @@ -253,11 +253,19 @@ stop_hostapd() { ## Tools ynh_setting_get() { - app=${1} - setting=${2} - grep "^${setting}:" "/etc/yunohost/apps/${app}/settings.yml" | sed s/^[^:]\\+:\\s*[\"\']\\?// | sed s/\\s*[\"\']\$// - # '" + APP="$1" KEY="$2" python3 - <