[email protected] wrote
  in <[email protected]>:

cr> Synopsis: [rc] dhclient is run twice
cr>
cr> State-Changed-From-To: open->feedback
cr> State-Changed-By: crees
cr> State-Changed-When: Fri Nov 2 11:11:17 UTC 2012
cr> State-Changed-Why:
cr> Please try out the patch at
cr> http://www.bayofrum.net/~crees/patches/165477.diff to devd.conf.  It
cr> does the "right thing", so let me know if it stops your problem.

 I think it is safe to remove the warning message when rc_quiet=YES.
 What do you think about the attached patch?

-- Hiroki
Index: etc/rc.subr
===================================================================
--- etc/rc.subr	(revision 243184)
+++ etc/rc.subr	(working copy)
@@ -704,7 +704,9 @@

 		start)
 			if [ -z "$rc_fast" -a -n "$rc_pid" ]; then
-				echo 1>&2 "${name} already running? (pid=$rc_pid)."
+				if [ ! -z "$rc_quiet" ]; then
+					echo 1>&2 "${name} already running? (pid=$rc_pid)."
+				fi
 				return 1
 			fi

Attachment: pgpnaoAA3t6oI.pgp
Description: PGP signature

Reply via email to