Skip to content

Commit

Permalink
Changing to “UniFi-Network”
Browse files Browse the repository at this point in the history
Fixed: Typos in __eubnt_setup_ufw
  • Loading branch information
sprocktech committed Mar 21, 2019
1 parent bba30ba commit 0255d24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/29-ufw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion easy-ubnt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0255d24

Please sign in to comment.