- 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)
This commit is contained in:
parent
5f25098780
commit
3d81cbbcf4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195220
3 changed files with 5 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= oss
|
||||
DISTVERSION= 4.0-build1003
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= audio kld
|
||||
MASTER_SITES= http://developer.opensound.com/sources/stable/
|
||||
DISTNAME= ${PORTNAME}-v${DISTVERSION}-src-gpl
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -4,4 +4,6 @@ This port uses installation procedure that is very different from
|
|||
the one used by 4Front and is not supported by them. All bug reports
|
||||
should go to the port maintainer via the usual PR mechanism.
|
||||
|
||||
To load OSS at boot, add oss_enable="YES" to your /etc/rc.conf.
|
||||
|
||||
---------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue