freebsd-ports/security/portsentry/files/portsentry.sh.in
Volker Stolz 0116cb6015 Fix shebang
Noticed by: Keith Ng
2005-05-30 06:50:07 +00:00

17 lines
477 B
Bash

#!/bin/sh
PORTSENTRY="%%PREFIX%%/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