diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2004-12-02 09:16:43 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2004-12-02 09:16:43 +0000 |
commit | a08ed1f160805b4b36d8af4e3487b8c78a0db770 (patch) | |
tree | 79780bdf5d755bdac07032ba34feece2b9d5776a /security | |
parent | d255c33e5124beafd0970ef91133947ee8c3fe17 (diff) | |
download | ports-a08ed1f160805b4b36d8af4e3487b8c78a0db770.tar.gz ports-a08ed1f160805b4b36d8af4e3487b8c78a0db770.zip |
- Add missed file
Reported by: kris (via pointyhat)
Notes
Notes:
svn path=/head/; revision=122967
Diffstat (limited to 'security')
-rw-r--r-- | security/drweb-sendmail/files/01.drweb-smf.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/security/drweb-sendmail/files/01.drweb-smf.sh b/security/drweb-sendmail/files/01.drweb-smf.sh new file mode 100644 index 000000000000..fec4c3a43ae8 --- /dev/null +++ b/security/drweb-sendmail/files/01.drweb-smf.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +case "$1" in +start) + if [ -x %INSTALL%/drweb-smf ]; then + killall drweb-smf >/dev/null 2>& 1; + %INSTALL%/drweb-smf --conf=/usr/local/etc/drweb-sendmail/drweb_smf.conf && \ + echo ' Starting drweb-smf'; + fi + ;; +stop) + killall drweb-smf >/dev/null 2>& 1; + echo ' Stop drweb-smf'; + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + ;; +esac + +exit 0 |