summaryrefslogtreecommitdiff
path: root/mail/missey/files/mps.sh.in
blob: cf5c8c5f313a1fd71a5c54e3a9edf0e7df3585df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
#
# $FreeBSD$
#

# PROVIDE: mps
# REQUIRE: LOGIN

#
# Add the following line to /etc/rc.conf to enable mps:
# mps_enable (bool):	Set to "NO" by default.
#			Set it to "YES" to enable Missey POP3 Server.
#

. /etc/rc.subr

name="mps"
rcvar=`set_rcvar`

load_rc_config $name

: ${mps_enable="NO"}

command="%%PREFIX%%/sbin/mps"

run_rc_command "$1"