aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorscrappy <scrappy@FreeBSD.org>2007-04-29 07:54:03 +0800
committerscrappy <scrappy@FreeBSD.org>2007-04-29 07:54:03 +0800
commitb5b0f7f9b52ca786c9040093163ea0f033f27024 (patch)
treeec2b071091a344bed60ac6418f22a9945e3e969d /sysutils
parent42aa8f3a09ad16de20f73a1597c28c0721e6cf8c (diff)
downloadfreebsd-ports-gnome-b5b0f7f9b52ca786c9040093163ea0f033f27024.tar.gz
freebsd-ports-gnome-b5b0f7f9b52ca786c9040093163ea0f033f27024.tar.zst
freebsd-ports-gnome-b5b0f7f9b52ca786c9040093163ea0f033f27024.zip
forgot to cvs add the start up file ...
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/bsdstats/files/bsdstats.in30
-rw-r--r--sysutils/bsdstats/files/bsdstats.sh30
2 files changed, 60 insertions, 0 deletions
diff --git a/sysutils/bsdstats/files/bsdstats.in b/sysutils/bsdstats/files/bsdstats.in
new file mode 100644
index 000000000000..a31b4a7efe0f
--- /dev/null
+++ b/sysutils/bsdstats/files/bsdstats.in
@@ -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"
diff --git a/sysutils/bsdstats/files/bsdstats.sh b/sysutils/bsdstats/files/bsdstats.sh
new file mode 100644
index 000000000000..8c03bc0d9472
--- /dev/null
+++ b/sysutils/bsdstats/files/bsdstats.sh
@@ -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"