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
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
;;