Here is a great article we found about the importance of installing a seismic gas shut-off valve as a part of your preparation efforts.
“The valves shut off the flow of gas when they detect seismic activity of a certain magnitude. The idea is to prevent gas explosions or pipeline ruptures due to a gas leak caused by an earthquake.” - Ramirez