ports/72759: Portsenty doesn't install sample startup file

Alex de Kruijff freebsd at akruijff.dds.nl
Sat Oct 16 15:30:38 UTC 2004


>Number:         72759
>Category:       ports
>Synopsis:       Portsenty doesn't install sample startup file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 16 15:30:35 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Alex de Kruijff
>Release:        5.2.1
>Organization:
>Environment:
N/A      
>Description:
My request is to change the portsentry ports so that it installs a sample startup file in etc/rc.d. I included my own.
>How-To-Repeat:
      
>Fix:
PORTSENTRY="/usr/local/bin/portsentry"

case "$1" in
        start)  
                echo -n ' portsentry ('
                ${PORTSENTRY} -tcp > /dev/null && echo -n 'tcp'
                ${PORTSENTRY} -udp > /dev/null && echo -n ' udp'
                echo -n ')'
                ;;
        stop)   
                killall `basename ${PORTSENTRY}`
                ;;
        *)
                echo "Usage: `basename $0` {start|stop}" >&2
                ;;
esac

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list