Create install.sh

This commit is contained in:
FusionPBX 2017-06-14 23:21:08 -07:00 committed by GitHub
parent 9a14de7467
commit 143ef67242
1 changed files with 5 additions and 3 deletions

View File

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