]> git.pld-linux.org Git - packages/rc-scripts.git/blame - rc-scripts-acct.patch
- typo
[packages/rc-scripts.git] / rc-scripts-acct.patch
CommitLineData
131b21f1
JB
1diff -Nur rc-scripts-0.3.1.orig/rc.d/rc.shutdown rc-scripts-0.3.1/rc.d/rc.shutdown
2--- rc-scripts-0.3.1.orig/rc.d/rc.shutdown 2002-01-27 03:13:29.000000000 +0100
3+++ rc-scripts-0.3.1/rc.d/rc.shutdown 2003-08-12 22:10:22.520436368 +0200
4@@ -29,8 +29,9 @@
5 halt -w
6
7 # Turn off swap, then unmount file systems.
8-run_cmd "Turning off swap and accounting" swapoff -a
9-[ -x /sbin/accton ] && LC_ALL=C /sbin/accton 2>&1 | grep -v "not implemented"
10+run_cmd "Turning off swap" swapoff -a
11+
12+[ -x /etc/rc.d/rc.acct ] && /etc/rc.d/rc.acct stop
13
14 if [ -x /sbin/quotaoff ]; then
15 run_cmd "Turning off quotas for local filesystems" /sbin/quotaoff -a
16diff -Nur rc-scripts-0.3.1.orig/rc.d/rc.sysinit rc-scripts-0.3.1/rc.d/rc.sysinit
17--- rc-scripts-0.3.1.orig/rc.d/rc.sysinit 2003-08-12 22:06:07.000000000 +0200
18+++ rc-scripts-0.3.1/rc.d/rc.sysinit 2003-08-12 22:08:49.104637728 +0200
19@@ -550,8 +550,8 @@
20 fi
21
22 # Turn on process accounting
23-if [ -x /sbin/accton ] ; then
24- run_cmd "Turning on process accounting" /sbin/accton /var/log/pacct
25+if [ -x /etc/rc.d/rc.acct ] ; then
2ebb9a8b 26+ /etc/rc.d/rc.acct start
131b21f1
JB
27 fi
28
29 # Set the clock if timezone definition wasn't available (eg. /usr not mounted)
This page took 0.032525 seconds and 4 git commands to generate.