We identified that T3SS and T6SS affect EGR1 and FOS genes expression in type II pneumocytes during infection. Here, EGR1 is linked to infection.