I want to execute a command when Ubuntu boots. The commands in particular are:
sudo shutdown +m
sudo shutdown +1
I want the computer to shut down as soon as it starts for testing purposes. I plan on switching the computer back on with a bit of circuitry I am testing.
How can I execute this command automatically at system start up?