#!/bin/sh # file : etc/bootstrap/bbot-bootstrap-freebsd.sh # copyright : Copyright (c) 2014-2017 Code Synthesis Ltd # license : TBC; see accompanying LICENSE file # Note: install GNU make with 'pkg install gmake'. # if ! jobs="$(sysctl -n hw.ncpu)"; then jobs=1 fi "$(dirname "$0")/bbot-bootstrap.sh" \ --make gmake \ --make "-j$jobs" \ "$@" # Wait a bit and shutdown. # sleep 5 sudo shutdown -h now