Files
bpfire/config/bash/dot_bashrc
Daniel Weismüller 778ac3ed83 Close console after 10 minutes idle.
For security reasons, all local consoles get closed
after 10 min idle. This does not count for screen or ssh sessions.
2013-02-05 21:35:16 +01:00

19 lines
321 B
Plaintext

# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Automatically logout only console users after 10 minutes.
export TMOUT=0
if [ -z "${SSH_TTY}" ] && [ -z "${STY}" ]; then
export TMOUT=600
fi