aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/kqemu-kmod
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-12-22 06:13:24 +0800
committermiwi <miwi@FreeBSD.org>2006-12-22 06:13:24 +0800
commitafc963e0c3e050681c36f7fbc03d245241b358df (patch)
tree32d0a906a21ae1908d404a858fde4b4883a56ad6 /emulators/kqemu-kmod
parentcb5ab803abf79e590e0fa807d4e83badbbb08aa9 (diff)
downloadfreebsd-ports-gnome-afc963e0c3e050681c36f7fbc03d245241b358df.tar.gz
freebsd-ports-gnome-afc963e0c3e050681c36f7fbc03d245241b358df.tar.zst
freebsd-ports-gnome-afc963e0c3e050681c36f7fbc03d245241b358df.zip
- Fix rc script for 6.X
- Bump PORTREVISION PR: ports/106917 Submitted by: Simon Phoenix<phoenix.simon@gmail.com> Approved by: maintainer
Diffstat (limited to 'emulators/kqemu-kmod')
-rw-r--r--emulators/kqemu-kmod/Makefile2
-rw-r--r--emulators/kqemu-kmod/files/kqemu.in6
2 files changed, 6 insertions, 2 deletions
diff --git a/emulators/kqemu-kmod/Makefile b/emulators/kqemu-kmod/Makefile
index 8bfcf08aea1d..3b3373ee2117 100644
--- a/emulators/kqemu-kmod/Makefile
+++ b/emulators/kqemu-kmod/Makefile
@@ -7,7 +7,7 @@
PORTNAME= kqemu
PORTVERSION= 1.3.0.p9
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= emulators
MASTER_SITES= http://qemu.org/
PKGNAMESUFFIX= -kmod
diff --git a/emulators/kqemu-kmod/files/kqemu.in b/emulators/kqemu-kmod/files/kqemu.in
index c8ececdd2226..7662ca3cccd1 100644
--- a/emulators/kqemu-kmod/files/kqemu.in
+++ b/emulators/kqemu-kmod/files/kqemu.in
@@ -12,8 +12,12 @@
. /etc/rc.subr
name="kqemu"
+rcvar=${name}_enable
+
load_rc_config $name
-rcvar=`set_rcvar`
+
+: ${kqemu_enable="NO"}
+
start_cmd=kqemu_start
stop_cmd=kqemu_stop