- Use correct modulname for kldstat

- Bump PORTREVISION

PR:		ports/168897
Submitted by:	VVD <vvd@unislabs.com>
This commit is contained in:
Bernhard Froehlich 2012-08-04 06:41:24 +00:00
parent a66b49d606
commit 09b600e31e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302002
2 changed files with 3 additions and 2 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= virtualbox-ose
DISTVERSION= 4.1.18
PORTREVISION= 1
CATEGORIES= emulators kld
MASTER_SITES= http://tmp.chruetertee.ch/ \
http://freebsd.unixfreunde.de/sources/ \

View file

@ -24,7 +24,7 @@ stop_cmd="vboxguest_stop"
vboxguest_start()
{
if ! kldstat -q -m vboxguest;
if ! kldstat -q -m pci/vboxguest;
then
if ! kldload vboxguest > /dev/null 2>&1;
then
@ -36,7 +36,7 @@ vboxguest_start()
vboxguest_stop()
{
if kldstat -q -m vboxguest;
if kldstat -q -m pci/vboxguest;
then
if ! kldunload vboxguest > /dev/null 2>&1;
then