Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/rc.d Remove unnecessary checkyesno which I commited before.
details: https://anonhg.NetBSD.org/src/rev/4cf0ada5afa0
branches: trunk
changeset: 779766:4cf0ada5afa0
user: isaki <isaki%NetBSD.org@localhost>
date: Sun Jun 17 02:13:13 2012 +0000
description:
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.
diffstat:
etc/rc.d/makemandb | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (24 lines):
diff -r e40da3fff185 -r 4cf0ada5afa0 etc/rc.d/makemandb
--- a/etc/rc.d/makemandb Sat Jun 16 20:47:04 2012 +0000
+++ b/etc/rc.d/makemandb Sun Jun 17 02:13:13 2012 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index