Hi Phillip.

On Wed, Jan 29, 2003 at 02:03:03PM -0500, Phillip Smith wrote:
> What's the best way to start portsentry on reboot?

There doesn't seem to be one build by the port, so I wrote a
/usr/local/etc/rc.d/portsentry.sh that looks someting like this:

case "$1" in
        [ -x /usr/local/bin/portsentry ] && /usr/local/bin/portsentry -tcp
        echo -n " portsentry"
        killall portsentry

I've seen others punt and simply add "/usr/local/bin/portsentry -tcp" to
their /etc/rc.local.  It's not as SysV-compliant, but it works.

  Paul Chvostek                                             <[EMAIL PROTECTED]>
  Operations / Abuse / Whatever
  it.canada, hosting and development                   http://www.it.ca/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to