From b88560b15377468f0adbad177abae36c225bd45d Mon Sep 17 00:00:00 2001 From: keoma Date: Fri, 15 Feb 2019 22:37:31 +0100 Subject: [PATCH] fix getting the vpnclient settings --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 90536df..6548a2e 100644 --- a/scripts/install +++ b/scripts/install @@ -154,8 +154,8 @@ if [[ ! -v ip6_net ]]; then # if ip6_net not set ip6_addr=none if [[ -e /tmp/.ynh-vpnclient-started ]]; then - vpnclient_ip6_net=$(sudo ynh_app_setting_set vpnclient ip6_net 2>&1) - vpnclient_ip6_addr=$(sudo ynh_app_setting_set vpnclient ip6_addr 2>&1) + vpnclient_ip6_net=$(yunohost app setting vpnclient ip6_net 2>&1) + vpnclient_ip6_addr=$(yunohost app setting vpnclient ip6_addr 2>&1) if [[ $vpnclient_ip6_net =~ :: && $vpnclient_ip6_addr =~ :: ]]; then ip6_net=${vpnclient_ip6_net}