Define an rcvar "virecover" so that this can be configurable. The default
is YES.
This commit is contained in:
parent
c7e23cc3fe
commit
79ca61d5d8
@ -1,4 +1,4 @@
|
||||
# $NetBSD: rc.conf,v 1.52 2003/12/27 00:23:22 martin Exp $
|
||||
# $NetBSD: rc.conf,v 1.53 2004/01/11 14:21:43 uebayasi Exp $
|
||||
#
|
||||
# /etc/defaults/rc.conf --
|
||||
# default configuration of /etc/rc.conf
|
||||
@ -299,3 +299,8 @@ tpctl=NO tpctl_flags=""
|
||||
#
|
||||
mixerctl=NO mixerctl_mixers="" # "mixer0 mixer1" means saving
|
||||
# and restoring their settings
|
||||
|
||||
# Vi recovery notification. Vi(1)'s -r option can recover files which were
|
||||
# accidentaly closed. See vi(1) for more details.
|
||||
#
|
||||
virecover=YES
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: virecover,v 1.6 2002/03/22 04:34:00 thorpej Exp $
|
||||
# $NetBSD: virecover,v 1.7 2004/01/11 14:21:44 uebayasi Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: virecover
|
||||
@ -12,6 +12,7 @@
|
||||
. /etc/rc.subr
|
||||
|
||||
name="virecover"
|
||||
rcvar=$name
|
||||
command="/usr/libexec/${name}"
|
||||
stop_cmd=":"
|
||||
reload_cmd=":"
|
||||
|
Loading…
Reference in New Issue
Block a user