svn commit: r281112 - head/etc/rc.d

Josh Paetzel jpaetzel at FreeBSD.org
Sun Apr 5 18:52:04 UTC 2015


> 
> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-src-all
> To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"


-- 

Thanks,

Josh Paetzel


More information about the svn-src-all mailing list