mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
88fb63b3ac
- reassing maintainership from dr@domix.de to jdunn@aquezada.com; - use USE_PYTHON; - pre-compile .py files; - other minor cleanups. PR: 22763 Submitted by: Julian Dunn <jdunn@aquezada.com> (new maintainer)
22 lines
337 B
Bash
22 lines
337 B
Bash
#!/bin/sh
|
|
|
|
case $1 in
|
|
start)
|
|
if [ -f __PREFIX__/etc/adzapper.conf ]; then
|
|
__PREFIX__/sbin/adzapper \
|
|
1>>/var/log/adzapper.log \
|
|
2>>/var/log/adzapper.log &
|
|
test $? -eq 0 && echo -n ' adzapper'
|
|
fi
|
|
;;
|
|
stop)
|
|
killall adzapper && echo -n ' adzapper'
|
|
;;
|
|
*)
|
|
echo "Usage: `basename $0` {start|stop}" >&2
|
|
exit 64
|
|
;;
|
|
esac
|
|
|
|
exit 0
|