diff options
author | trasz <trasz@FreeBSD.org> | 2007-07-08 12:32:13 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2007-07-08 12:32:13 +0000 |
commit | 7185a4d5d3580e164d6cf0a63c97cbee468591c7 (patch) | |
tree | 4f1cc98ee9d726a52c4baf0f377be20dae86dc3b /audio/oss/files/oss.in | |
parent | ea1115e03cbf317e4c9c822bc76b7e82e9f1eed0 (diff) | |
download | FreeBSD-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.in | 3 |
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" |