summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-16 15:59:33 +0000
committerjlam <jlam@pkgsrc.org>2002-10-16 15:59:33 +0000
commitab1264bcb30f2495cbf3f0db992eca3670bd2edc (patch)
treeb8f33cd0ffadcf7f85ec200e3328874dd3cfb1de /audio
parent1db4118ed58a6bedc64a642d70896612cf5426b4 (diff)
downloadpkgsrc-ab1264bcb30f2495cbf3f0db992eca3670bd2edc.tar.gz
Substitute for modstat path, using "true" if not on NetBSD.
Diffstat (limited to 'audio')
-rw-r--r--audio/oss/files/oss.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/oss/files/oss.sh b/audio/oss/files/oss.sh
index f423dad3bcf..8558e25740d 100644
--- a/audio/oss/files/oss.sh
+++ b/audio/oss/files/oss.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: oss.sh,v 1.3 2002/10/02 21:06:55 jlam Exp $
+# $NetBSD: oss.sh,v 1.4 2002/10/16 15:59:33 jlam Exp $
#
# PROVIDE: oss
# REQUIRE: aftermountlkm
@@ -32,7 +32,7 @@ oss_start()
oss_stop()
{
- if modstat -n oss >/dev/null; then
+ if @MODSTAT@ -n oss >/dev/null; then
if [ -x @PREFIX@/sbin/soundoff ]; then
@ECHO@ "Stopping ${name}."
@PREFIX@/sbin/soundoff