Linux – EC2 startup script

amazon ec2linuxstartup-scripts

We're using Amazon's 32-bit Linux AMI. What is the best way to automatically run a script after the OS is loaded (not on ssh login, just after it has booted up)?

Best Answer

Put the command in /etc/rc.local.