#! /bin/bash
boxName=$1
echo
echo "Init script for $boxName"
pkg install -fy virtualbox-ose-additions
neededPackages=(mercurial git flex bison ccache rpm wget)
bonusPackages=(emacs24 zsh)
for p in ${neededPackages[@]}; do
pkg install -y $p
done
for p in ${bonusPackages[@]}; do
echo "FreeBSD-specific ended. Now doing general stuff"
/vagrant/initGeneralScript.sh
echo "Ended"