aboutsummaryrefslogtreecommitdiff
path: root/net/mpd5/files/mpd5.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/mpd5/files/mpd5.sh.in')
-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}