1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Welcome unifi4 to the ports tree.

This is still alpha software according to Ubiquiti. You've been warned.

PR:		194628
Submitted by:	Alban Maire
This commit is contained in:
Mark Felder 2014-10-31 13:32:02 +00:00
parent cbd7400f36
commit 1b4f314b17
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371820
7 changed files with 470 additions and 0 deletions

1
LEGAL
View File

@ -243,6 +243,7 @@ tw_cli-* sysutils/tw_cli Redistribution forbidden by license
ue*dev.zip editors/uemacs Resale allowed for media cost only
unifi-2*/UniFi.unix.zip net-mgmt/unifi2 Redistribution of bundled firmware images is not permitted
unifi-3*/UniFi.unix.zip net-mgmt/unifi3 Redistribution of bundled firmware images is not permitted
unifi-4*/UniFi.unix.zip net-mgmt/unifi4 Redistribution of bundled firmware images is not permitted
uplink-demo* games/linux-uplink-demo Redistribution is limited, see license
uzap.tar.gz editors/uzap This software may not be used to make a profit in any way.
vdr-markad-* multimedia/vdr-plugin-markad Installs station logos

View File

@ -301,6 +301,7 @@
SUBDIR += torrus
SUBDIR += unifi2
SUBDIR += unifi3
SUBDIR += unifi4
SUBDIR += victorops-nagios
SUBDIR += vidalia
SUBDIR += virt-viewer

44
net-mgmt/unifi4/Makefile Normal file
View File

@ -0,0 +1,44 @@
# Created by: Alban MAIRE <a.maire@s2mi.fr>
# $FreeBSD$
PORTNAME= unifi4
PORTVERSION= 4.2.0
CATEGORIES= net-mgmt java
MASTER_SITES= http://dl.ubnt.com/unifi/${PORTVERSION}/
DISTNAME= UniFi.unix
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= feld@FreeBSD.org
COMMENT= UniFi Controller
RUN_DEPENDS= mongodb>0:${PORTSDIR}/databases/mongodb
SUB_LIST+= USERS=${USERS} GROUPS=${GROUPS} JAVASHAREDIR=${JAVASHAREDIR}
USES= cpe zip
CPE_VENDOR= ubnt
CPE_PRODUCT= unifi_controller
USE_JAVA= yes
JAVA_VERSION= 1.6+
JAVA_OS= native
JAVA_VENDOR= openjdk bsdjava
JAVA_RUN= yes
NO_BUILD= yes
USE_RC_SUBR= unifi
USERS= unifi
GROUPS= unifi
WRKSRC= ${WRKDIR}/UniFi
RESTRICTED= Redistribution of bundled firmware images is not permitted
CONFLICTS= unifi2-* unifi3-*
do-install:
${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/unifi
(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${JAVASHAREDIR}/unifi/)
${LN} -sf ${PREFIX}/bin/mongod ${STAGEDIR}${JAVASHAREDIR}/unifi/bin/mongod
.include <bsd.port.mk>

2
net-mgmt/unifi4/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (unifi4-4.2.0/UniFi.unix.zip) = 8dfd4069a1166a0ad8b99ec8c588fe758bb3c34ace5d1c8845a9a66d3796fcd6
SIZE (unifi4-4.2.0/UniFi.unix.zip) = 170050144

View File

@ -0,0 +1,75 @@
#!/bin/sh
#
# Created by: Mark Felder <feld@FreeBSD.org>
# $FreeBSD$
#
# PROVIDE: unifi
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable `unifi':
#
# unifi_enable="YES"
. /etc/rc.subr
name=unifi
rcvar=unifi_enable
load_rc_config ${name}
: ${unifi_enable:=NO}
: ${unifi_user:=%%USERS%%}
: ${unifi_group:=%%GROUPS%%}
: ${unifi_chdir=%%JAVASHAREDIR%%/unifi}
: ${unifi_javaflags:="-Djava.awt.headless=true -Xmx1024M"}
command_interpreter=.
command="%%PREFIX%%/bin/java"
command_args="${unifi_javaflags} -jar lib/ace.jar"
start_cmd=start_cmd
start_precmd=start_precmd
stop_cmd=stop_cmd
status_cmd=status_cmd
pidfile="/var/run/${name}.pid"
procname=$(JAVAVM_DRYRUN=yes ${command} | fgrep JAVAVM_COMMAND)
start_precmd()
{
if [ ! -e /var/run/unifi ] ; then
install -d -o %%USERS%% -g %%GROUPS%% /var/run/unifi;
fi
}
start_cmd()
{
check_startmsgs && echo "Starting ${name}."
cd ${unifi_chdir}
daemon -u %%USERS%% -f -p ${pidfile} ${command} ${command_args} start
}
stop_cmd()
{
check_startmsgs && echo "Stopping ${name}."
rc_pid=$(check_pidfile $pidfile $procname)
cd ${unifi_chdir}
${command} ${command_args} stop
wait_for_pids $rc_pid
}
status_cmd()
{
if [ -e ${pidfile} ] && $(pgrep -F ${pidfile} > /dev/null) ; then
mypid=$(cat ${pidfile})
fi
if [ ! ${mypid} = '' ]; then
echo "${name} is running with PID ${mypid}.";
else
echo "${name} not running?";
fi
}
run_rc_command "$1"

View File

@ -0,0 +1,4 @@
The UniFi Controller allows you to manage Wireless, Routing & Switching,
VoIP and Video of Ubiquiti Networks.
WWW: http://wiki.ubnt.com/UniFi_FAQ

343
net-mgmt/unifi4/pkg-plist Normal file
View File

@ -0,0 +1,343 @@
%%JAVASHAREDIR%%/unifi/bin/mongod
%%JAVASHAREDIR%%/unifi/dl/firmware/BZ2/3.2.5.2791/firmware.bin
%%JAVASHAREDIR%%/unifi/dl/firmware/U2HSR/3.2.5.2791/firmware.bin
%%JAVASHAREDIR%%/unifi/dl/firmware/U7E/3.2.5.2791/firmware.bin
%%JAVASHAREDIR%%/unifi/dl/firmware/U7P/3.2.5.2791/firmware.bin
%%JAVASHAREDIR%%/unifi/dl/firmware/UGW3/4.2.0.4705016/upgrade.tar
%%JAVASHAREDIR%%/unifi/dl/firmware/bundles.json
%%JAVASHAREDIR%%/unifi/lib/MRJAdapter.jar
%%JAVASHAREDIR%%/unifi/lib/ace.jar
%%JAVASHAREDIR%%/unifi/lib/annotations-2.0.0.jar
%%JAVASHAREDIR%%/unifi/lib/commons-beanutils-1.9.1.jar
%%JAVASHAREDIR%%/unifi/lib/commons-codec-1.7.jar
%%JAVASHAREDIR%%/unifi/lib/commons-httpclient-3.1.jar
%%JAVASHAREDIR%%/unifi/lib/commons-lang-2.6.jar
%%JAVASHAREDIR%%/unifi/lib/commons-logging-1.1.3.jar
%%JAVASHAREDIR%%/unifi/lib/commons-net-3.3.jar
%%JAVASHAREDIR%%/unifi/lib/commons-pool2-2.2.jar
%%JAVASHAREDIR%%/unifi/lib/dom4j-1.3.jar
%%JAVASHAREDIR%%/unifi/lib/ecj-4.3.1.jar
%%JAVASHAREDIR%%/unifi/lib/guava-14.0.1.jar
%%JAVASHAREDIR%%/unifi/lib/jmdns-3.4.1.jar
%%JAVASHAREDIR%%/unifi/lib/jstl-1.2.jar
%%JAVASHAREDIR%%/unifi/lib/jstun-0.7.3.jar
%%JAVASHAREDIR%%/unifi/lib/jul-log4j-bridge.jar
%%JAVASHAREDIR%%/unifi/lib/log4j-1.2.17.jar
%%JAVASHAREDIR%%/unifi/lib/mail-1.4.7.jar
%%JAVASHAREDIR%%/unifi/lib/mongo-java-driver-2.10.1.jar
%%JAVASHAREDIR%%/unifi/lib/servo-core-0.7.3.jar
%%JAVASHAREDIR%%/unifi/lib/slf4j-api-1.7.6.jar
%%JAVASHAREDIR%%/unifi/lib/slf4j-log4j12-1.7.6.jar
%%JAVASHAREDIR%%/unifi/lib/snappy-java-1.0.5.jar
%%JAVASHAREDIR%%/unifi/lib/spring-beans-3.2.8.RELEASE.jar
%%JAVASHAREDIR%%/unifi/lib/spring-context-3.2.8.RELEASE.jar
%%JAVASHAREDIR%%/unifi/lib/spring-core-3.2.8.RELEASE.jar
%%JAVASHAREDIR%%/unifi/lib/spring-expression-3.2.8.RELEASE.jar
%%JAVASHAREDIR%%/unifi/lib/sshj-0.9.0.jar
%%JAVASHAREDIR%%/unifi/lib/tomcat-embed-core-7.0.50.jar
%%JAVASHAREDIR%%/unifi/lib/tomcat-embed-jasper-7.0.50.jar
%%JAVASHAREDIR%%/unifi/lib/tomcat-embed-logging-juli-7.0.50.jar
%%JAVASHAREDIR%%/unifi/lib/tomcat-embed-logging-log4j-7.0.50.jar
%%JAVASHAREDIR%%/unifi/readme.txt
%%JAVASHAREDIR%%/unifi/webapps/ROOT/WEB-INF/web.xml
%%JAVASHAREDIR%%/unifi/webapps/ROOT/apple-touch-icon-114x114-precomposed.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/apple-touch-icon-144x144-precomposed.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/apple-touch-icon-57x57-precomposed.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/apple-touch-icon-72x72-precomposed.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/apple-touch-icon-precomposed.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/apple-touch-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/favicon.ico
%%JAVASHAREDIR%%/unifi/webapps/ROOT/hotspot.html
%%JAVASHAREDIR%%/unifi/webapps/ROOT/hotspot_login.html
%%JAVASHAREDIR%%/unifi/webapps/ROOT/iframe.html
%%JAVASHAREDIR%%/unifi/webapps/ROOT/iframe_uploaded.jsp
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Bold-webfont.eot
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Bold-webfont.svg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Bold-webfont.ttf
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Bold-webfont.woff
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-BoldItalic-webfont.eot
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-BoldItalic-webfont.svg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-BoldItalic-webfont.ttf
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-BoldItalic-webfont.woff
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-ExtraBold-webfont.eot
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-ExtraBold-webfont.svg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-ExtraBold-webfont.ttf
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-ExtraBold-webfont.woff
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.eot
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.svg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.ttf
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.woff
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Italic-webfont.eot
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Italic-webfont.svg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Italic-webfont.ttf
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Italic-webfont.woff
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Light-webfont.eot
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Light-webfont.svg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Light-webfont.ttf
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Light-webfont.woff
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-LightItalic-webfont.eot
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-LightItalic-webfont.svg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-LightItalic-webfont.ttf
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-LightItalic-webfont.woff
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Regular-webfont.eot
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Regular-webfont.svg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Regular-webfont.ttf
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Regular-webfont.woff
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Semibold-webfont.eot
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Semibold-webfont.svg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Semibold-webfont.ttf
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-Semibold-webfont.woff
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-SemiboldItalic-webfont.eot
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-SemiboldItalic-webfont.svg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-SemiboldItalic-webfont.ttf
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/open-sans/OpenSans-SemiboldItalic-webfont.woff
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/ubiquiti/Ubiquiti-Icons.eot
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/ubiquiti/Ubiquiti-Icons.svg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/ubiquiti/Ubiquiti-Icons.ttf
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/fonts/ubiquiti/Ubiquiti-Icons.woff
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/1x1.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/arrow-down.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/default-message-avatar.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/default-message-avatar@2x.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/default-profile-avatar.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/default-profile-avatar@2x.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2HSR/connected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2HSR/connected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2HSR/disconnected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2HSR/disconnected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2HSR/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2HSR/icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2L48/connected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2L48/connected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2L48/disconnected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2L48/disconnected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2L48/icon-16.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2L48/icon-16@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2L48/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2L48/icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2M/connected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2M/connected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2M/disconnected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2M/disconnected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2M/icon-16.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2M/icon-16@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2M/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2M/icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2O/connected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2O/connected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2O/disconnected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2O/disconnected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2O/icon-16.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2O/icon-16@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2O/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2O/icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2S48/connected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2S48/connected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2S48/disconnected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2S48/disconnected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2S48/icon-16.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2S48/icon-16@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2S48/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U2S48/icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U5O/connected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U5O/connected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U5O/disconnected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U5O/disconnected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U5O/icon-16.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U5O/icon-16@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U5O/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U5O/icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7E/connected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7E/connected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7E/disconnected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7E/disconnected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7E/icon-16.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7E/icon-16@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7E/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7E/icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7O/connected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7O/connected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7O/disconnected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7O/disconnected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7O/icon-16.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7O/icon-16@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7O/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7O/icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7P/connected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7P/connected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7P/disconnected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7P/disconnected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7P/icon-16.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7P/icon-16@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7P/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/U7P/icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/UGW3/connected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/UGW3/disconnected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/UGW3/icon-16.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/UGW3/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/UGW8/connected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/UGW8/disconnected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/UGW8/icon-16.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/UGW8/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/UP5/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/UP5/icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/UP7/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/UP7/icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/US24/connected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/US24/disconnected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/US24/icon-16.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/US24/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/US48/connected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/US48/disconnected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/US48/icon-16.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/US48/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/ap-connected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/ap-connected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/ap-disconnected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/ap-disconnected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/ap-icon-16.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/ap-icon-16@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/ap-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/ap-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/block.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/p2N/connected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/p2N/connected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/p2N/disconnected-icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/p2N/disconnected-icon@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/p2N/icon-16.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/p2N/icon-16@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/p2N/icon.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/p2N/icon@2x.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/devices/poe-bolt.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/edge-max.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/fpo/map.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/fpo/office-map.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/content-map.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/content-map@2x.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/content-table-row.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/content-table-row@2x.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/content-table.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/content-table@2x.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/header-refresh-static.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/header-refresh-static.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/header-refresh-static@2x.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/header-refresh-static@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/header-refresh.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/header-refresh@2x.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/panel-table-row.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/panel-table-row@2x.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/panel-table.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/panel-table@2x.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/properties.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/properties@2x.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/search-indexing.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/spinner.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/spinner@2x.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/wizard.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/loading/wizard@2x.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/login/blurred-bg-header.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/login/blurred-bg-header@2x.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/login/blurred-bg.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/login/blurred-bg@2x.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/login/global-s7cfa2ea11f.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/login/global/logo-chrome.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/login/global/logo-firefox.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/login/global/ubnt-logo.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/login/global2x-s92d095d8fd.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/login/global2x/logo-chrome.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/login/global2x/logo-firefox.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/login/global2x/ubnt-logo.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/login/spinner-64.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/login/spinner-64@2x.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/logo.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/logo@2x.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/notifications/aircam.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/notifications/aircam@2x.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/notifications/edge.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/notifications/edge@2x.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/notifications/notification-icon.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/notifications/notification-icon@2x.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/notifications/point.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/notifications/point@2x.gif
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/notifications/unifi.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/notifications/unifi@2x.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/roadblock.jpg
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/speedtest.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi-s40017b8090.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/a-2g-powersave.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/a-2g.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/a-5g-powersave.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/a-5g.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/ac-5g-powersave.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/ac-5g.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/alert-badge.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/arrow-down-gray.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/arrow-down.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/arrow-up-gray.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/arrow-up.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/arrows.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/b-2g-powersave.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/b-2g.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/button-hover.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/computer.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/g-2g-powersave.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/g-2g.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/na-5g-powersave.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/na-5g.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/ng-2g-powersave.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/ng-2g.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/slider.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/status-disconnected.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/status-isolated.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi/status-vwireless.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x-s329afdee71.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/a-2g-powersave.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/a-2g.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/a-5g-powersave.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/a-5g.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/ac-5g-powersave.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/ac-5g.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/alert-badge.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/arrow-down-gray.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/arrow-down.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/arrow-up-gray.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/arrow-up.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/arrows.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/b-2g-powersave.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/b-2g.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/button-hover.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/computer.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/g-2g-powersave.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/g-2g.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/na-5g-powersave.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/na-5g.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/ng-2g-powersave.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/ng-2g.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/slider.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/status-disconnected.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/status-isolated.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/images/unifi2x/status-vwireless.png
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/js/app.js
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/js/common.js
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/js/hotspot.js
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/js/hotspot_login.js
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/js/libs/bower-components/requirejs/require.min.js
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/js/libs/modernizr.custom.min.js
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/js/login.js
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/js/manage.js
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/js/sso_login.js
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/js/verify.js
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/js/wizard.js
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/stylesheets/css/login/login.min.css
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/stylesheets/css/unifi.hotspot.min.css
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/stylesheets/css/unifi.min.css
%%JAVASHAREDIR%%/unifi/webapps/ROOT/lib/4.2.0/stylesheets/css/wizard.min.css
%%JAVASHAREDIR%%/unifi/webapps/ROOT/login.html
%%JAVASHAREDIR%%/unifi/webapps/ROOT/manage.html
%%JAVASHAREDIR%%/unifi/webapps/ROOT/pages/voucher.jsp
%%JAVASHAREDIR%%/unifi/webapps/ROOT/sso_login.html
%%JAVASHAREDIR%%/unifi/webapps/ROOT/upnp.html
%%JAVASHAREDIR%%/unifi/webapps/ROOT/verify.html
%%JAVASHAREDIR%%/unifi/webapps/ROOT/waiting.html
%%JAVASHAREDIR%%/unifi/webapps/ROOT/wizard.html
@exec chown -R unifi:unifi %D/%%JAVASHAREDIR%%/unifi