Change rcvar from "mixer" to `set_rcvar`.
authorJeroen Ruigrok/asmodai <asmodai@dragonflybsd.org>
Sat, 28 Aug 2004 14:15:18 +0000 (14:15 +0000)
committerJeroen Ruigrok/asmodai <asmodai@dragonflybsd.org>
Sat, 28 Aug 2004 14:15:18 +0000 (14:15 +0000)
This allows mixer to be properly started when doing:

# /etc/rc.d/mixer start

etc/rc.d/mixer

index 8a1d76e..16b51ff 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $DragonFly: src/etc/rc.d/mixer,v 1.3 2004/04/15 12:59:29 joerg Exp $
+# $DragonFly: src/etc/rc.d/mixer,v 1.4 2004/08/28 14:15:18 asmodai Exp $
 #
 
 # PROVIDE: mixer
@@ -9,7 +9,7 @@
 . /etc/rc.subr
 
 name="mixer"
-rcvar="mixer"
+rcvar=`set_rcvar`
 start_cmd="mixer_start"
 stop_cmd="mixer_stop"
 mixer_conf=/etc/mixer.conf