Well you don't have to make the choice that early. It isn't until /etc/rc.local runs that I would need to know. It comes up on the HDMI display and it isn't until the PiTFT is configured that it switches displays. I don't need a general solution (i.e. recognize any HDMI video display and auto configure for it), I just need to dig in and see if the PiTFT display is mounted, and assume if it isn't that I'm using the 5" HDMI display. But getting back to my question, assuming I'm in /etc/rc.local, and I want to switch between the displays, is there a list of all of the files that need to be changed, modules loaded/unloaded, etc. to switch displays?
I'm using
https://github.com/adafruit/adafruit-pi-cam/archive/master.zip, which in turn use python-pip.