aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-12-02 17:16:43 +0800
committersem <sem@FreeBSD.org>2004-12-02 17:16:43 +0800
commit713aabb7110a333c50c494be65821c8fb48a23fc (patch)
tree3c55b18ff691a5b4b0d3183f0b3a0ff6e59d94f2 /security
parent33ca128b59bd325b7635b913fcaea098a44b7469 (diff)
downloadfreebsd-ports-gnome-713aabb7110a333c50c494be65821c8fb48a23fc.tar.gz
freebsd-ports-gnome-713aabb7110a333c50c494be65821c8fb48a23fc.tar.zst
freebsd-ports-gnome-713aabb7110a333c50c494be65821c8fb48a23fc.zip
- Add missed file
Reported by: kris (via pointyhat)
Diffstat (limited to 'security')
-rw-r--r--security/drweb-sendmail/files/01.drweb-smf.sh20
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