From 0d325359d2f73d7918eac85a83fd219fa6c88009 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 27 Dec 2013 17:55:46 +0100 Subject: [PATCH] shell/rc: Rename timeout_setup_shell_lock() to _logout(). --- shell/rc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shell/rc b/shell/rc index c3cfade..dcb4cc1 100644 --- a/shell/rc +++ b/shell/rc @@ -49,10 +49,10 @@ timeout_setup_tmux_lock() { echo "Falling back to shell timeout." >&2 echo - timeout_setup_shell_lock + timeout_setup_shell_logout fi } -timeout_setup_shell_lock() { +timeout_setup_shell_logout() { echo "Auto-logout after $timeout seconds (TTY detected)." TMOUT=$timeout echo @@ -97,14 +97,14 @@ case "$TERM" in esac else echo 'TERM=screen but neither $STY nor $TMUX found!' >&2 - timeout_setup_shell_lock + timeout_setup_shell_logout fi ;; *) case `tty` in /dev/tty[0-9]*) - timeout_setup_shell_lock + timeout_setup_shell_logout ;; esac ;; -- 2.45.2