blob: a31b4a7efe0f1e4af4b3820ce18e611fab3b0a4d (
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
27
28
29
30
|
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: bsdstats
# REQUIRE: LOGIN
# KEYWORD: shutdown
# bsdstats is disabled by default, if you have configuration file
#
# Add the following line to /etc/rc.conf to enable bsdstats:
#
#bsdstats_enable="YES"
#
. /etc/rc.subr
load_rc_config bsdstats
name=bsdstats
rcvar=`set_rcvar`
command=/usr/local/etc/periodic/monthly/300.statistics
# default to disable
bsdstats_enable=${bsdstats_enable:-"NO"}
bsdstats_flags=${bsdstats_flags:-"-nodelay"}
run_rc_command "$1"
|