blob: 0b6b5be9602d3175aeddbfa34b6308a620a6aa10 (
plain)
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
|
#!/bin/sh
# PROVIDE: calloutd
# REQUIRE: DAEMON
# BEFORE: mail
# KEYWORD: shutdown
#
. /etc/rc.subr
name="calloutd"
rcvar=calloutd_enable
: ${calloutd_enable="NO"}
command="%%PREFIX%%/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="%%PREFIX%%/etc/mailfromd.conf"
extra_commands="configlint"
configlint_cmd="${name} --config-lint"
load_rc_config ${name}
run_rc_command "$1"
|