Module Name: src
Committed By: jdc
Date: Sun Jun 24 16:31:52 UTC 2012
Modified Files:
src/etc/rc.d [netbsd-6]: makemandb
Log Message:
Pull up revisions:
src/etc/rc.d/makemandb revisions 1.2,1.3
(requested by isaki in ticket #350).
Allows you to disable it if makemandb=NO in rc.conf.
Thanks tsutsui@ and Yasushi Oshima.
Remove unnecessary checkyesno which I commited before.
${rcvar}_start is skipped if rcvar is not set to YES.
Pointed out by joerg@ and tsutsui@.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.1.2.1 src/etc/rc.d/makemandb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/etc/rc.d/makemandb
diff -u src/etc/rc.d/makemandb:1.1 src/etc/rc.d/makemandb:1.1.2.1
--- src/etc/rc.d/makemandb:1.1 Tue Feb 7 19:13:30 2012
+++ src/etc/rc.d/makemandb Sun Jun 24 16:31:52 2012
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: makemandb,v 1.1 2012/02/07 19:13:30 joerg Exp $
+# $NetBSD: makemandb,v 1.1.2.1 2012/06/24 16:31:52 jdc Exp $
#
# PROVIDE: makemandb
@@ -10,6 +10,7 @@
$_rc_subr_loaded . /etc/rc.subr
name="makemandb"
+rcvar=$name
required_files="/etc/man.conf /usr/sbin/makemandb"
start_cmd="makemandb_start"
stop_cmd=":"