From owner-svn-src-all@FreeBSD.ORG Sun Apr 5 18:52:04 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0D5849DB for ; Sun, 5 Apr 2015 18:52:04 +0000 (UTC) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D254DF03 for ; Sun, 5 Apr 2015 18:52:03 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 384D8208CF for ; Sun, 5 Apr 2015 14:51:52 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute3.internal (MEProxy); Sun, 05 Apr 2015 14:51:55 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=v7ki5aXUpNpQGHn lhuWZtnUyNsk=; b=YN2tUo8WH2VklGr8kHjB2+nqM6Hjm6pZI/mBg4/mClSe5mB GXkk2mrinkFkNZ0e5KnPwGECct9kk+hVAvtkinqKk1X9GurtI08sp+b2e2Ss++Py DiB5taYYs6xCHs4IAwyxRS+2ZjjZhO6ibTs47PAemK7D66B/7MnMxLD8A5fA= Received: by web3.nyi.internal (Postfix, from userid 99) id B430F10B15F; Sun, 5 Apr 2015 14:51:55 -0400 (EDT) Message-Id: <1428259915.3686562.249555513.69B1B019@webmail.messagingengine.com> X-Sasl-Enc: ndSTix58AtDhuNy7RZvvSlsG38yOioVosP9+TB8341nA 1428259915 From: Josh Paetzel To: svn-src-all@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-0b3c2300 In-Reply-To: References: <201504051709.t35H9xG3036827@svn.freebsd.org> Subject: Re: svn commit: r281112 - head/etc/rc.d Date: Sun, 05 Apr 2015 13:51:55 -0500 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2015 18:52:04 -0000 > > Is a character device created for pflog? > No. > > + > > # set pflog_dev interface to up state > > if ! ifconfig $pflog_dev up; then > > warn "could not bring up $pflog_dev." > > return 1 > > fi > > > > + # -p flag requires striping pidfile's leading /var/run and trailing .pid > > + pidfile=$(echo $pidfile | sed -e 's|/var/run/||' -e 's|.pid$||') > > + > > Could this use pgrep with a custom pidfile? > Maybe? But as far as I understand it no. pgrep returns a pid. Not following how that would help in selecting the correct pidfile, but maybe I'm missing something here. Perhaps a more concrete example would enlighten me. > Thanks! > _______________________________________________ > svn-src-all@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-all > To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" -- Thanks, Josh Paetzel