aeeb9ad168
- fix lastcomm setings (#550229 - confusion about accounting file location)
35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
diff -up acct-6.5.1/configure.pom acct-6.5.1/configure
|
|
--- acct-6.5.1/configure.pom 2010-01-04 14:24:09.000000000 +0100
|
|
+++ acct-6.5.1/configure 2010-01-04 14:23:33.000000000 +0100
|
|
@@ -21351,10 +21351,10 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
#ifndef ACCT_FILE
|
|
# if defined(__FreeBSD__) || defined(__linux__)
|
|
-# define ACCT_FILE "/var/log/account/pacct"
|
|
+# define ACCT_FILE "/var/account/pacct"
|
|
# else
|
|
# if defined(__NetBSD__)
|
|
-# define ACCT_FILE "/var/log/account/acct"
|
|
+# define ACCT_FILE "/var/account/acct"
|
|
# else
|
|
# if defined(sun) || defined(AMIX)
|
|
# define ACCT_FILE "/var/adm/pacct"
|
|
@@ -21371,7 +21371,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
#ifndef SAVACCT_FILE
|
|
# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__)
|
|
-# define SAVACCT_FILE "/var/log/account/savacct"
|
|
+# define SAVACCT_FILE "/var/account/savacct"
|
|
# else
|
|
# if defined(sun) || defined(AMIX)
|
|
# define SAVACCT_FILE "/var/adm/savacct"
|
|
@@ -21387,7 +21387,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
#ifndef USRACCT_FILE
|
|
# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__)
|
|
-# define USRACCT_FILE "/var/log/account/usracct"
|
|
+# define USRACCT_FILE "/var/account/usracct"
|
|
# else
|
|
# if defined(sun) || defined(AMIX)
|
|
# define USRACCT_FILE "/var/adm/usracct"
|