aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorMike A. Harris <mharris@redhat.com>2002-03-12 11:56:16 +0000
committerMike A. Harris <mharris@redhat.com>2002-03-12 11:56:16 +0000
commit3c8bf819778831e628467c5d5f4727240c588229 (patch)
tree322ed0062e62d4250fae266368f57c125492c5bc /rc.d
parent5473ffcdc6afc4a3fb56fb0019e3b34854be9a3d (diff)
downloadinitscripts-3c8bf819778831e628467c5d5f4727240c588229.tar
initscripts-3c8bf819778831e628467c5d5f4727240c588229.tar.gz
initscripts-3c8bf819778831e628467c5d5f4727240c588229.tar.bz2
initscripts-3c8bf819778831e628467c5d5f4727240c588229.tar.xz
initscripts-3c8bf819778831e628467c5d5f4727240c588229.zip
removed accton calls from rc.sysinit and halt scripts as it is handled in psacct package nowr6-55
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/halt2
-rwxr-xr-xrc.d/rc.sysinit5
2 files changed, 0 insertions, 7 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index 97dc4b78..0df6983f 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -121,8 +121,6 @@ runcmd $"Syncing hardware clock to system time" /sbin/hwclock $CLOCKFLAGS
SWAPS=`awk '! /^Filename/ { print $1 }' /proc/swaps`
[ -n "$SWAPS" ] && runcmd $"Turning off swap: " swapoff $SWAPS
-[ -x /sbin/accton ] && runcmd $"Turning off accounting: " /sbin/accton
-
[ -x /sbin/quotaoff ] && runcmd $"Turning off quotas: " /sbin/quotaoff -aug
# Unmount file systems, killing processes if we have to.
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 48300a82..0555ae88 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -603,11 +603,6 @@ if [ -x /sbin/quotaon ]; then
action $"Enabling local filesystem quotas: " /sbin/quotaon -aug
fi
-# Turn on process accounting
-if [ -x /sbin/accton ] ; then
- action $"Turning on process accounting" /sbin/accton /var/account/pacct
-fi
-
# Configure machine if necessary.
if [ -f /.unconfigured ]; then
if [ -x /usr/bin/passwd ]; then