blob: 26893d8834190dce5740cfa3f5680baa13107a53 (
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: smfsav
# REQUIRE: NETWORKING
# BEFORE: mail
# Written for FreeBSD.
#
# Copy this file into /usr/local/etc/rc.d as /usr/local/etc/rc.d/smfsav
# Add this line to /etc/rc.conf:
#
# smfsav_enable="YES"
. /etc/rc.subr
name="smfsav"
rcvar=smfsav_enable
load_rc_config ${name}
required_files=${smfsav_config:="%%PREFIX%%/etc/smf-sav.conf"}
command="%%PREFIX%%/sbin/smf-sav"
command_args="-c ${required_files}"
run_rc_command "$1"
|