Create install.sh

This commit is contained in:
FusionPBX
2017-06-14 23:21:08 -07:00
committed by GitHub
parent 9a14de7467
commit 143ef67242

View File

@@ -13,10 +13,12 @@ verbose "Update installed packages"
pkg upgrade --yes
#Update the ports
if [ -d "/usr/ports" ]; then
portsnap fetch extract
else
if [ -e "/usr/ports" ]; then
echo "/usr/ports exists"
portsnap fetch update
else
echo "/usr/ports not found";
portsnap fetch extract
fi
#PF - Packet Filter