View | Details | Raw Unified | Return to bug 130414
Collapse All | Expand All

(-)src/etc/rc.subr (-3 / +3 lines)
Lines 603-621 Link Here
603
		fi
603
		fi
604
	fi
604
	fi
605
605
606
	eval $_pidcmd			# determine the pid
607
606
					# if ${rcvar} is set, and $1 is not
608
					# if ${rcvar} is set, and $1 is not
607
					# "rcvar", then run
609
					# "rcvar", then run
608
					#	checkyesno ${rcvar}
610
					#	checkyesno ${rcvar}
609
					# and return if that failed
611
					# and return if that failed
610
					#
612
					#
611
	if [ -n "${rcvar}" -a "$rc_arg" != "rcvar" ]; then
613
	if [ -z "$rc_pid" -a -n "${rcvar}" -a "$rc_arg" != "rcvar" ]; then
612
		if ! checkyesno ${rcvar}; then
614
		if ! checkyesno ${rcvar}; then
613
			return 0
615
			return 0
614
		fi
616
		fi
615
	fi
617
	fi
616
618
617
	eval $_pidcmd			# determine the pid if necessary
618
619
	for _elem in $_keywords; do
619
	for _elem in $_keywords; do
620
		if [ "$_elem" != "$rc_arg" ]; then
620
		if [ "$_elem" != "$rc_arg" ]; then
621
			continue
621
			continue

Return to bug 130414