diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-16 15:59:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-16 15:59:33 +0000 |
commit | ab1264bcb30f2495cbf3f0db992eca3670bd2edc (patch) | |
tree | b8f33cd0ffadcf7f85ec200e3328874dd3cfb1de /audio | |
parent | 1db4118ed58a6bedc64a642d70896612cf5426b4 (diff) | |
download | pkgsrc-ab1264bcb30f2495cbf3f0db992eca3670bd2edc.tar.gz |
Substitute for modstat path, using "true" if not on NetBSD.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/oss/files/oss.sh | 4 |
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 |