summaryrefslogtreecommitdiffstats
path: root/audio/oss/files/oss.in
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2007-07-08 12:32:13 +0000
committertrasz <trasz@FreeBSD.org>2007-07-08 12:32:13 +0000
commit7185a4d5d3580e164d6cf0a63c97cbee468591c7 (patch)
tree4f1cc98ee9d726a52c4baf0f377be20dae86dc3b /audio/oss/files/oss.in
parentea1115e03cbf317e4c9c822bc76b7e82e9f1eed0 (diff)
downloadFreeBSD-ports-7185a4d5d3580e164d6cf0a63c97cbee468591c7.zip
FreeBSD-ports-7185a4d5d3580e164d6cf0a63c97cbee468591c7.tar.gz
- Fix rc script to not emit a warning at startup when oss_enable is not
set in /etc/rc.conf, and mention oss_enable in pkg-message.in. Approved by: miwi (mentor)
Diffstat (limited to 'audio/oss/files/oss.in')
-rw-r--r--audio/oss/files/oss.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/oss/files/oss.in b/audio/oss/files/oss.in
index 3454a46..6fc9724 100644
--- a/audio/oss/files/oss.in
+++ b/audio/oss/files/oss.in
@@ -7,7 +7,8 @@
. %%RC_SUBR%%
name="oss"
-rcvar=${name}_enable
+rcvar=`set_rcvar`
+oss_enable="${oss_enable:-NO}"
stop_cmd="oss_stop"
start_cmd="oss_start"
OpenPOWER on IntegriCloud