e6530fb27e
- sync license to reality - rename patches - sprinkle $OpenBSD$ - grammar fixes - regen PLIST - take over maintainership (this ok dugsong@)
29 lines
458 B
Bash
Executable File
29 lines
458 B
Bash
Executable File
#!/bin/sh
|
|
# $OpenBSD: ADMfzap,v 1.2 2002/03/24 07:30:43 jsyn Exp $
|
|
#
|
|
# ADMfzap wrapper.
|
|
#
|
|
# Dug Song <dugsong@monkey.org>
|
|
#
|
|
# $Id: ADMfzap,v 1.2 2002/03/24 07:30:43 jsyn Exp $
|
|
|
|
LIBFZAP=y0y0y0
|
|
|
|
function usage {
|
|
echo "Usage: ADMfzap [-p port] command ..." >&2; exit 1
|
|
}
|
|
|
|
while getopts p: opt 2>&-; do
|
|
case "$opt" in
|
|
p) LPORT=$OPTARG ;;
|
|
\?) usage ;;
|
|
esac
|
|
done
|
|
|
|
shift $(($OPTIND - 1))
|
|
|
|
if [ $# -eq 0 ]; then usage; fi
|
|
|
|
LD_PRELOAD=$LIBFZAP exec $*
|
|
|