How do I create a startup script that executes a command, waits some time, and then shuts down Ubuntu?

view full story

http://askubuntu.com – I need to make one of my scripts a start-up script and I want it to be executed in the following manner: The script should be a start-up script. When the script is executed, the machine should SHUTDOWN. This image shows what I am trying to do: How do I implement this in Ubuntu Linux? (HowTos)