Module Name:    src
Committed By:   isaki
Date:           Sun Jun 17 02:13:13 UTC 2012

Modified Files:
        src/etc/rc.d: makemandb

Log Message:
Remove unnecessary checkyesno which I commited before.
${rcvar}_start is skipped if rcvar is not set to YES.
Pointed out by joerg@ and tsutsui@.
Should be pulled up to netbsd-6.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 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.2 src/etc/rc.d/makemandb:1.3
--- src/etc/rc.d/makemandb:1.2	Tue Jun 12 02:25:29 2012
+++ src/etc/rc.d/makemandb	Sun Jun 17 02:13:13 2012
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: makemandb,v 1.2 2012/06/12 02:25:29 isaki Exp $
+# $NetBSD: makemandb,v 1.3 2012/06/17 02:13:13 isaki Exp $
 #
 
 # PROVIDE: makemandb
@@ -17,10 +17,8 @@ stop_cmd=":"
 
 makemandb_start()
 {
-	if checkyesno $rcvar; then
-		# Initiate update build in the background
-		nice -n 5 /usr/sbin/makemandb -q > /dev/null 2>&1 &
-	fi
+	# Initiate update build in the background
+	nice -n 5 /usr/sbin/makemandb -q > /dev/null 2>&1 &
 }
 
 load_rc_config $name

Reply via email to