I installed the 64 bit version on my pie 4. I did not install headless mode. It was installed with the full desktop.
I wrote a program than uses some of the gpio to read button presses and light leds to show status. I also am using tc dump to pull info from a Ethernet connected device.
All of this is working. Script runs at boot and all the buttons and leds work correctly. No keyboard or mouse input is required. I have a button for a shut down script also. But if I shut down and pull the hdmi cable after reboot my script does not work.
How can I run this device without a HDMI connection without reinstalling the OS?
thanks in advance