From afc963e0c3e050681c36f7fbc03d245241b358df Mon Sep 17 00:00:00 2001 From: miwi Date: Thu, 21 Dec 2006 22:13:24 +0000 Subject: - Fix rc script for 6.X - Bump PORTREVISION PR: ports/106917 Submitted by: Simon Phoenix Approved by: maintainer --- emulators/kqemu-kmod-devel/Makefile | 2 +- emulators/kqemu-kmod-devel/files/kqemu.in | 6 +++++- emulators/kqemu-kmod/Makefile | 2 +- emulators/kqemu-kmod/files/kqemu.in | 6 +++++- 4 files changed, 12 insertions(+), 4 deletions(-) (limited to 'emulators') diff --git a/emulators/kqemu-kmod-devel/Makefile b/emulators/kqemu-kmod-devel/Makefile index 8bfcf08..3b3373e 100644 --- a/emulators/kqemu-kmod-devel/Makefile +++ b/emulators/kqemu-kmod-devel/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-devel/files/kqemu.in b/emulators/kqemu-kmod-devel/files/kqemu.in index c8ececd..7662ca3 100644 --- a/emulators/kqemu-kmod-devel/files/kqemu.in +++ b/emulators/kqemu-kmod-devel/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 diff --git a/emulators/kqemu-kmod/Makefile b/emulators/kqemu-kmod/Makefile index 8bfcf08..3b3373e 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 c8ececd..7662ca3 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 -- cgit v1.1