Skip to content

Commit

Permalink
implement rotting pr1ntf#153 cuz skarekrow is taking too long lolol
Browse files Browse the repository at this point in the history
  • Loading branch information
trent-pr1ntf committed May 6, 2016
1 parent c8caed5 commit fa35a11
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions iohyve
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
# Set proper path thanks to iocage
PATH=${PATH}:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin

# Check to see if CPU is compatable with bhyve
if ! $(cat /var/run/dmesg.boot | egrep -q 'VT-x|EPT') ; then
echo "Your CPU does not seem to support bhyve."
exit 1
fi

# Check if libs are available (stolen from iocage)
if [ -e "./lib/ioh-cmd" ] ; then
LIB="./lib"
Expand Down

0 comments on commit fa35a11

Please sign in to comment.