source: src-sh/pc-extractoverlay/ports-overlay/usr/local/etc/rc.d/bsdstats @ 1620346

9.1-release9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3
Last change on this file since 1620346 was 1620346, checked in by Kris Moore <kris@…>, 17 months ago

Initial import of PC-BSD /current/ SVN repo

  • Property mode set to 100755
File size: 588 bytes
Line 
1#!/bin/sh
2#
3# $FreeBSD: ports/sysutils/bsdstats/files/bsdstats.in,v 1.3 2010/08/19 03:06:13 amdmi3 Exp $
4#
5
6# PROVIDE: bsdstats
7# REQUIRE: LOGIN
8# KEYWORD: shutdown
9
10# bsdstats is disabled by default, if you have configuration file
11#
12# Add the following line to /etc/rc.conf to enable bsdstats:
13#
14#bsdstats_enable="YES"
15#
16
17. /etc/rc.subr
18
19load_rc_config bsdstats
20
21name=bsdstats
22rcvar=bsdstats_enable
23
24command=/usr/local/etc/periodic/monthly/300.statistics
25
26# default to disable
27bsdstats_enable=${bsdstats_enable:-"NO"}
28bsdstats_flags=${bsdstats_flags:-"-nodelay"}
29
30run_rc_command "$1" &
Note: See TracBrowser for help on using the repository browser.