Car power supply with ignition state detection - mathoudebine/openauto GitHub Wiki

If you want to control power-up and shutdown of the Raspberry PI based on the ignition state, take a look at the Blue Wave Studio car power supply.