Date: Sun, 05 Apr 2015 13:51:55 -0500 From: Josh Paetzel <jpaetzel@FreeBSD.org> To: svn-src-all@freebsd.org Subject: Re: svn commit: r281112 - head/etc/rc.d Message-ID: <1428259915.3686562.249555513.69B1B019@webmail.messagingengine.com> In-Reply-To: <F97AB59E-6C84-47D8-84D6-AF8DA0055515@gmail.com> References: <201504051709.t35H9xG3036827@svn.freebsd.org> <F97AB59E-6C84-47D8-84D6-AF8DA0055515@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1428259915.3686562.249555513.69B1B019>