/usr/share/doc/syslogout/examples/etc/sysprofile.d/logout.bash is in syslogout 0.3.9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # For using "syslogout" with X11, better invoke it from out of your
# X display manager's Xreset file as explained in README.usage instead
# out of "$HOME/.bash_logout".
#
# For using "syslogout" exclusively in a non-X11 environment you could
# use this code here via the "syslogin" package to make sure every user
# has a "$HOME/.bash_logout" file:
if [ ! -f $HOME/.bash_logout ]
then
if [ -f /etc/skel/.bash_logout ]
then
cp /etc/skel/.bash_logout $HOME
fi
fi
|