diff options
author | Bill Nottingham <notting@redhat.com> | 2001-01-17 22:11:12 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-01-17 22:11:12 +0000 |
commit | 56e41fe276986b27e8986e0affd117cef915ca83 (patch) | |
tree | 3a5d1312954dfdf3503baef725aef4d57f898330 /rc.d | |
parent | e77cf44ac518696fa103ba1b15042d7c436e251d (diff) | |
download | initscripts-56e41fe276986b27e8986e0affd117cef915ca83.tar initscripts-56e41fe276986b27e8986e0affd117cef915ca83.tar.gz initscripts-56e41fe276986b27e8986e0affd117cef915ca83.tar.bz2 initscripts-56e41fe276986b27e8986e0affd117cef915ca83.tar.xz initscripts-56e41fe276986b27e8986e0affd117cef915ca83.zip |
turn on accounting at bootup
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 5 |
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 |