Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #301 pull request #304

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added fontconfig-2.13.94_1.1.txz
Binary file not shown.
16 changes: 13 additions & 3 deletions install-unifi/install-unifi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ UNIFI_SOFTWARE_URL="https://dl.ui.com/unifi/7.2.92/UniFi.unix.zip"


# The rc script associated with this branch or fork:
RC_SCRIPT_URL="https://raw.githubusercontent.com/unofficial-unifi/unifi-pfsense/master/rc.d/unifi.sh"
RC_SCRIPT_URL="https://raw.githubusercontent.com/indoes/unifi-pfsense/synced/rc.d/unifi.sh"

CURRENT_MONGODB_VERSION=mongodb42

Expand Down Expand Up @@ -129,8 +129,10 @@ AddPkg () {

#Add the following Packages for installation or reinstallation (if something was removed)
AddPkg png
AddPkg brotli
AddPkg freetype2
AddPkg fontconfig
#AddPkg fontconfig
env ASSUME_ALWAYS_YES=YES /usr/sbin/pkg add -f https://github.com/indoes/unifi-pfsense/raw/synced/fontconfig-2.13.94_1.1.txz
AddPkg alsa-lib
AddPkg mpdecimal
AddPkg python37
Expand All @@ -155,8 +157,11 @@ AddPkg libXrender
AddPkg libinotify
AddPkg javavmwrapper
AddPkg java-zoneinfo
AddPkg fontconfig
AddPkg openjdk8
AddPkg snappyjava
AddPkg openjdk8-jre
AddPkg bootstrap-openjdk8
env ASSUME_ALWAYS_YES=YES /usr/sbin/pkg add -f https://github.com/indoes/unifi-pfsense/raw/synced/snappyjava-1.1.7.5.txz
AddPkg snappy
AddPkg cyrus-sasl
AddPkg icu
Expand Down Expand Up @@ -189,6 +194,11 @@ echo -n "Updating mongod link..."
/bin/ln -sf /usr/local/bin/mongod /usr/local/UniFi/bin/mongod
echo " done."

# Update openjdk symbolic link for java to point to /usr/local/bin/java:
/bin/unlink /usr/local/bin/java
/bin/ln -sf /usr/local/openjdk8-jre/bin/java /usr/local/bin/java


# If partition size is < 4GB, add smallfiles option to mongodb
echo -n "Checking partition size..."
if [ `df -k | awk '$NF=="/"{print $2}'` -le 4194302 ]; then
Expand Down
Binary file added snappyjava-1.1.7.5.txz
Binary file not shown.