aboutsummaryrefslogtreecommitdiffstats
path: root/audio/oss
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2007-07-12 06:09:52 +0800
committertrasz <trasz@FreeBSD.org>2007-07-12 06:09:52 +0800
commitdb173a116a374d9c3fa986c227bcd2c0feeec45e (patch)
treeb000498e7f13e85678aa0f7dbb9af06efc52765f /audio/oss
parentd2f322244969c311f53c5dfec941dda68d928183 (diff)
downloadfreebsd-ports-gnome-db173a116a374d9c3fa986c227bcd2c0feeec45e.tar.gz
freebsd-ports-gnome-db173a116a374d9c3fa986c227bcd2c0feeec45e.tar.zst
freebsd-ports-gnome-db173a116a374d9c3fa986c227bcd2c0feeec45e.zip
- Fix rc script, properly this time. This is style cleanup, so don't
bump PORTREVISION. Submitted by: dougb Approved by: miwi (mentor)
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"