Subject: Re: /etc/rc.d/virecover
To: None <lukem@NetBSD.org>
From: Masao Uebayashi <uebayasi@pultek.co.jp>
List: tech-userlevel
Date: 01/11/2004 21:38:11
I think mixerctl also lacks an rcvar. Any comment on this?
Masao
Index: rc.d/mixerctl
===================================================================
RCS file: /cvsroot/src/etc/rc.d/mixerctl,v
retrieving revision 1.6
diff -u -r1.6 mixerctl
--- rc.d/mixerctl 18 Aug 2003 13:04:10 -0000 1.6
+++ rc.d/mixerctl 11 Jan 2004 12:36:43 -0000
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="mixerctl"
+rcvar=$name
start_cmd="mixerctl_start"
stop_cmd="mixerctl_stop"
Index: rc.d/virecover
===================================================================
RCS file: /cvsroot/src/etc/rc.d/virecover,v
retrieving revision 1.6
diff -u -r1.6 virecover
--- rc.d/virecover 22 Mar 2002 04:34:00 -0000 1.6
+++ rc.d/virecover 11 Jan 2004 12:36:43 -0000
@@ -12,6 +12,7 @@
. /etc/rc.subr
name="virecover"
+rcvar=$name
command="/usr/libexec/${name}"
stop_cmd=":"
reload_cmd=":"
Index: defaults/rc.conf
===================================================================
RCS file: /cvsroot/src/etc/defaults/rc.conf,v
retrieving revision 1.52
diff -u -r1.52 rc.conf
--- defaults/rc.conf 27 Dec 2003 00:23:22 -0000 1.52
+++ defaults/rc.conf 11 Jan 2004 12:36:43 -0000
@@ -299,3 +299,6 @@
#
mixerctl=NO mixerctl_mixers="" # "mixer0 mixer1" means saving
# and restoring their settings
+
+# Vi recovery notification.
+virecover=YES