|
|
9014c4 |
diff --git a/config-top.h b/config-top.h
|
|
|
9014c4 |
index 026d4a4..cb0e002 100644
|
|
|
9014c4 |
--- a/config-top.h
|
|
|
9014c4 |
+++ b/config-top.h
|
|
|
9014c4 |
@@ -92,7 +92,7 @@
|
|
|
9014c4 |
/* #define SYS_BASHRC "/etc/bash.bashrc" */
|
|
|
9014c4 |
|
|
|
9014c4 |
/* System-wide .bash_logout for login shells. */
|
|
|
9014c4 |
-/* #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" */
|
|
|
9014c4 |
+#define SYS_BASH_LOGOUT "/etc/bash.bash_logout"
|
|
|
9014c4 |
|
|
|
9014c4 |
/* Define this to make non-interactive shells begun with argv[0][0] == '-'
|
|
|
9014c4 |
run the startup files when not in posix mode. */
|
|
|
9014c4 |
diff --git a/doc/bash.1 b/doc/bash.1
|
|
|
9014c4 |
index 04ce845..bfde55e 100644
|
|
|
9014c4 |
--- a/doc/bash.1
|
|
|
9014c4 |
+++ b/doc/bash.1
|
|
|
9014c4 |
@@ -335,8 +335,8 @@ option may be used when the shell is started to inhibit this behavior.
|
|
|
9014c4 |
When an interactive login shell exits,
|
|
|
9014c4 |
or a non-interactive login shell executes the \fBexit\fP builtin command,
|
|
|
9014c4 |
.B bash
|
|
|
9014c4 |
-reads and executes commands from the file \fI~/.bash_logout\fP, if it
|
|
|
9014c4 |
-exists.
|
|
|
9014c4 |
+reads and executes commands from the files \fI~/.bash_logout\fP
|
|
|
9014c4 |
+and \fI/etc/bash.bash_logout\fP, if the files exists.
|
|
|
9014c4 |
.PP
|
|
|
9014c4 |
When an interactive shell that is not a login shell is started,
|
|
|
9014c4 |
.B bash
|
|
|
9014c4 |
@@ -10558,6 +10558,9 @@ The \fBbash\fP executable
|
|
|
9014c4 |
.FN /etc/profile
|
|
|
9014c4 |
The systemwide initialization file, executed for login shells
|
|
|
9014c4 |
.TP
|
|
|
9014c4 |
+.FN /etc/bash.bash_logout
|
|
|
9014c4 |
+The systemwide login shell cleanup file, executed when a login shell exits
|
|
|
9014c4 |
+.TP
|
|
|
9014c4 |
.FN ~/.bash_profile
|
|
|
9014c4 |
The personal initialization file, executed for login shells
|
|
|
9014c4 |
.TP
|
|
|
9014c4 |
--
|
|
|
9014c4 |
2.9.3
|
|
|
9014c4 |
|