summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/acct/files/acct.initd')
-rw-r--r--sys-process/acct/files/acct.initd36
1 files changed, 0 insertions, 36 deletions
diff --git a/sys-process/acct/files/acct.initd b/sys-process/acct/files/acct.initd
deleted file mode 100644
index d6d9dfd62459..000000000000
--- a/sys-process/acct/files/acct.initd
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_started_commands="report"
-
-depend() {
- need localmount
-}
-
-checkconfig() {
- export ACCT_LOG=${ACCT_LOG:-/var/account/pacct}
- if [ ! -e "${ACCT_LOG}" ] ; then
- touch "${ACCT_LOG}"
- chmod 600 "${ACCT_LOG}"
- fi
- return 0
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting accounting"
- accton "${ACCT_LOG}" >/dev/null
- eend $?
-}
-
-stop() {
- ebegin "Stopping accounting"
- accton off >/dev/null
- eend $?
-}
-
-report() {
- sa ${REPORT_OPTS} "${ACCT_LOG}"
-}