aboutsummaryrefslogtreecommitdiff
path: root/audio/oss
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2007-07-11 22:09:52 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2007-07-11 22:09:52 +0000
commit441a55557e4d6d553b210c9774d357a01ef82a43 (patch)
tree389cc9329f4977182b91601b4b8be95bdf0dface /audio/oss
parent627cb575f786ece9b2f2d3cc0e386c680218b397 (diff)
downloadports-441a55557e4d6d553b210c9774d357a01ef82a43.tar.gz
ports-441a55557e4d6d553b210c9774d357a01ef82a43.zip
Notes
Diffstat (limited to 'audio/oss')
-rw-r--r--audio/oss/files/oss.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/oss/files/oss.in b/audio/oss/files/oss.in
index 6fc9724d8895..96b8ead42915 100644
--- a/audio/oss/files/oss.in
+++ b/audio/oss/files/oss.in
@@ -1,20 +1,21 @@
-#!/bin/sh -
+#!/bin/sh
# PROVIDE: oss
-# REQUIRE: cleanvar
+# REQUIRE: DAEMON
# KEYWORD: nojail shutdown
. %%RC_SUBR%%
name="oss"
rcvar=`set_rcvar`
-oss_enable="${oss_enable:-NO}"
stop_cmd="oss_stop"
start_cmd="oss_start"
load_rc_config $name
+: ${oss_enable=NO}
+
oss_start()
{
echo "Starting Open Sound System"