blob: 9248623a8fe23ade4311f1dbd05042ecc72aab4a (
plain) (
tree)
|
|
#!/bin/sh
#
PREFIX=%%PREFIX%%
case "$1" in
start)
if [ -x ${PREFIX}/cyrus/bin/pwcheck ]
then
${PREFIX}/cyrus/bin/pwcheck & && echo -n " pwcheck"
fi
;;
stop)
if [ -r /var/run/pwcheck.pid ]
then
kill `cat /var/run/pwcheck.pid` && echo -n " pwcheck"
fi
;;
*)
echo "usage: $0 {start|stop}" 1>&2
exit 64
;;
esac
|