Abstract: A motion sensor for connecting to the housing of a gasoline dispenser which is used to dispense gasoline to vehicles. The motion sensor includes components to detect motion, such as that caused by a vehicle striking the dispenser housing, and provides a signal to a controller which cuts off electrical power through an electrical supply line to electrical components of the dispenser. With power disconnected from electrical components of the dispenser, potential arcing of electricity to those electrical components when they become damaged, or potential arcing when the electrical supply line becomes damaged can be prevented to potentially prevent a resulting fire or explosion.