mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
forgot to cvs add the start up file ...
This commit is contained in:
parent
0d05a061a8
commit
868cf10ec1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191082
30
sysutils/bsdstats/files/bsdstats.in
Normal file
30
sysutils/bsdstats/files/bsdstats.in
Normal file
@ -0,0 +1,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"
|
30
sysutils/bsdstats/files/bsdstats.sh
Normal file
30
sysutils/bsdstats/files/bsdstats.sh
Normal file
@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/Attic/bsdstats.sh,v 1.1 2007-04-28 23:54:03 scrappy Exp $
|
||||
#
|
||||
|
||||
# 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"
|
Loading…
Reference in New Issue
Block a user