Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/etc/rc.d Pull up revisions:



details:   https://anonhg.NetBSD.org/src/rev/b87d66a3c6d5
branches:  netbsd-6
changeset: 774247:b87d66a3c6d5
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sun Jun 24 16:31:52 2012 +0000

description:
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@.

diffstat:

 etc/rc.d/makemandb |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 256790a44d18 -r b87d66a3c6d5 etc/rc.d/makemandb
--- a/etc/rc.d/makemandb        Sun Jun 24 16:17:40 2012 +0000
+++ b/etc/rc.d/makemandb        Sun Jun 24 16:31:52 2012 +0000
@@ -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=":"



Home | Main Index | Thread Index | Old Index