aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-17 22:11:12 +0000
committerBill Nottingham <notting@redhat.com>2001-01-17 22:11:12 +0000
commit56e41fe276986b27e8986e0affd117cef915ca83 (patch)
tree3a5d1312954dfdf3503baef725aef4d57f898330
parente77cf44ac518696fa103ba1b15042d7c436e251d (diff)
downloadinitscripts-56e41fe276986b27e8986e0affd117cef915ca83.tar
initscripts-56e41fe276986b27e8986e0affd117cef915ca83.tar.gz
initscripts-56e41fe276986b27e8986e0affd117cef915ca83.tar.bz2
initscripts-56e41fe276986b27e8986e0affd117cef915ca83.tar.xz
initscripts-56e41fe276986b27e8986e0affd117cef915ca83.zip
turn on accounting at bootup
-rwxr-xr-xrc.d/rc.sysinit5
1 files changed, 5 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 6a9caa4b..21324987 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -494,6 +494,11 @@ if [ X"$_RUN_QUOTACHECK" = X1 -a -x /sbin/quotacheck ]; then
action "Checking filesystem quotas: " /sbin/quotacheck -v -R -a
fi
+# Turn on process accounting
+if [ -x /sbin/accton ] ; then
+ action "Turning on process accounting" /sbin/accton /var/log/pacct
+fi
+
# Configure machine if necessary.
if [ -f /.unconfigured ]; then
if [ -x /usr/bin/passwd ]; then