aboutsummaryrefslogtreecommitdiff
path: root/net/mpd5
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2012-01-14 08:57:23 +0000
committerDoug Barton <dougb@FreeBSD.org>2012-01-14 08:57:23 +0000
commit83eb2c37009874672764765ec3bf3b59286c7391 (patch)
treea956ace1a4a1e10876d4c36f12af02bc9df6cb29 /net/mpd5
parent3c1484f2613137d7eaba8577f6d580c5532ac912 (diff)
downloadports-83eb2c37009874672764765ec3bf3b59286c7391.tar.gz
ports-83eb2c37009874672764765ec3bf3b59286c7391.zip
Notes
Diffstat (limited to 'net/mpd5')
-rw-r--r--net/mpd5/files/mpd5.sh.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/net/mpd5/files/mpd5.sh.in b/net/mpd5/files/mpd5.sh.in
index 01297e920d80..5654f72f1842 100644
--- a/net/mpd5/files/mpd5.sh.in
+++ b/net/mpd5/files/mpd5.sh.in
@@ -1,13 +1,11 @@
#!/bin/sh
-#
+
# $FreeBSD$
#
-
# PROVIDE: mpd
# REQUIRE: SERVERS
# BEFORE: DAEMON
# KEYWORD: shutdown
-
#
# Add the following lines to /etc/rc.conf to enable mpd5:
# mpd_enable (bool): Set to "NO" by default.
@@ -16,12 +14,11 @@
# Extra flags passed to start command.
#
# See mpd5(8) for flags.
-#
. /etc/rc.subr
name="mpd5"
-rcvar=`set_rcvar mpd`
+rcvar=mpd_enable
load_rc_config ${name}