diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-09 09:33:01 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-09 09:33:01 +0000 |
commit | e88f5e22e3ef760d2bc049a35fed1fecc9196844 (patch) | |
tree | 61b4b76dd7eecda7459aefec7b532a9d46a41bd0 /mail/vm-pop3d/files/vm-pop3d.sh | |
parent | 6de38f945e0ff3682041780b051e12b4c1044644 (diff) |
add a startup script
PR: 37869
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=58789
Diffstat (limited to 'mail/vm-pop3d/files/vm-pop3d.sh')
-rw-r--r-- | mail/vm-pop3d/files/vm-pop3d.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/vm-pop3d/files/vm-pop3d.sh b/mail/vm-pop3d/files/vm-pop3d.sh new file mode 100644 index 000000000000..43e28e9b3fdd --- /dev/null +++ b/mail/vm-pop3d/files/vm-pop3d.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +case "$1" in +start) + [ -x %%PREFIX%%/sbin/vm-pop3d ] && %%PREFIX%%/sbin/vm-pop3d -d && echo -n " vm-pop3d" + ;; +stop) + killall vm-pop3d && echo -n " vm-pop3d" + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + ;; +esac + +exit 0 |