From 0255d24dfacd28876402e44b23275308fb5a6d96 Mon Sep 17 00:00:00 2001 From: Klint Van Tassel Date: Thu, 21 Mar 2019 13:41:40 -0500 Subject: [PATCH] =?UTF-8?q?Changing=20to=20=E2=80=9CUniFi-Network=E2=80=9D?= =?UTF-8?q?=20Fixed:=20Typos=20in=20=5F=5Feubnt=5Fsetup=5Fufw?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/29-ufw.sh | 2 +- easy-ubnt.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/29-ufw.sh b/build/29-ufw.sh index 391082d..0c56e5f 100644 --- a/build/29-ufw.sh +++ b/build/29-ufw.sh @@ -104,7 +104,7 @@ EOF declare -a app_list=($(ufw app list | grep --extended-regexp "${apps_to_check}" | awk '{print $1}')) for app_name in "${!app_list[@]}"; do allowed_app="${app_list[$app_name]}" - if [[ "${allowed_app}" = "UniFi-Controller-Local" ]]; then + if [[ "${allowed_app}" = "UniFi-Network-Local" ]]; then allow_access="n" else allow_access="y" diff --git a/easy-ubnt.sh b/easy-ubnt.sh index 58c1ad8..ebb6d75 100644 --- a/easy-ubnt.sh +++ b/easy-ubnt.sh @@ -2089,7 +2089,7 @@ EOF declare -a app_list=($(ufw app list | grep --extended-regexp "${apps_to_check}" | awk '{print $1}')) for app_name in "${!app_list[@]}"; do allowed_app="${app_list[$app_name]}" - if [[ "${allowed_app}" = "UniFi-Controller-Local" ]]; then + if [[ "${allowed_app}" = "UniFi-Network-Local" ]]; then allow_access="n" else allow_access="y"