diff options
author | trasz <trasz@FreeBSD.org> | 2007-07-12 06:09:52 +0800 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2007-07-12 06:09:52 +0800 |
commit | db173a116a374d9c3fa986c227bcd2c0feeec45e (patch) | |
tree | b000498e7f13e85678aa0f7dbb9af06efc52765f /audio/oss | |
parent | d2f322244969c311f53c5dfec941dda68d928183 (diff) | |
download | freebsd-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.in | 7 |
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" |