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.
This commit is contained in:
parent
c72955ee27
commit
b1d94e60d6
|
@ -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
|
||||
}
|
||||
|
||||
load_rc_config $name
|
||||
|
|
Loading…
Reference in New Issue