aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorgrembo <grembo@FreeBSD.org>2015-06-23 02:13:23 +0800
committergrembo <grembo@FreeBSD.org>2015-06-23 02:13:23 +0800
commitfa31a64fa0833b29473cf4c13e65e4e0d580f824 (patch)
tree88f0edad0b47e9b16df6b53e3ed71479a3310dee /sysutils
parent341d9d9b8160272f40949bc32d725b041bb00ac6 (diff)
downloadfreebsd-ports-gnome-fa31a64fa0833b29473cf4c13e65e4e0d580f824.tar.gz
freebsd-ports-gnome-fa31a64fa0833b29473cf4c13e65e4e0d580f824.tar.zst
freebsd-ports-gnome-fa31a64fa0833b29473cf4c13e65e4e0d580f824.zip
Fix for newer versions of behyve (-S was removed).
PR: 201044 Submitted by: Denys Razumov <zxzharmlesszxz@gmail.com>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/bhyve-rc/Makefile2
-rw-r--r--sysutils/bhyve-rc/files/bhyve.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/bhyve-rc/Makefile b/sysutils/bhyve-rc/Makefile
index 64d83f60efdb..6c6f83e2bd94 100644
--- a/sysutils/bhyve-rc/Makefile
+++ b/sysutils/bhyve-rc/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bhyve-rc
-PORTVERSION= 1
+PORTVERSION= 2
CATEGORIES= sysutils
MASTER_SITES= # none
DISTFILES= # none
diff --git a/sysutils/bhyve-rc/files/bhyve.in b/sysutils/bhyve-rc/files/bhyve.in
index 9a5ac7399400..57bb6ff6ec00 100644
--- a/sysutils/bhyve-rc/files/bhyve.in
+++ b/sysutils/bhyve-rc/files/bhyve.in
@@ -141,6 +141,6 @@ bhyve_stop()
rm -f ${pidfile}
}
-command_args="new-session -ds ${_session} \"sh -c 'echo \\\$PPID >${pidfile}; while true; do /usr/sbin/bhyvectl --vm=${_session} --destroy; /usr/sbin/bhyveload -m ${bhyve_memsize} -d ${bhyve_diskdev} ${_session} && /usr/sbin/bhyve -c ${bhyve_ncpu} -m ${bhyve_memsize} -AI -H -P -g 0 -s 0:0,hostbridge -s 1:0,virtio-net,${bhyve_tapdev} -s 2:0,virtio-blk,${bhyve_diskdev} -S 31,uart,stdio ${_session} || break; done'\""
+command_args="new-session -ds ${_session} \"sh -c 'echo \\\$PPID >${pidfile}; while true; do /usr/sbin/bhyvectl --vm=${_session} --destroy; /usr/sbin/bhyveload -m ${bhyve_memsize} -d ${bhyve_diskdev} ${_session} && /usr/sbin/bhyve -c ${bhyve_ncpu} -m ${bhyve_memsize} -AI -H -P -g 0 -s 0:0,hostbridge -s 1:0,virtio-net,${bhyve_tapdev} -s 2:0,virtio-blk,${bhyve_diskdev} -s 31,uart,stdio ${_session} || break; done'\""
run_rc_command "$1"