Dummy Question, put a script on startup fails

view full story

http://www.unix.com – Hi all, im pretty new to unit/redhat 6.2 I am trying to load a script upon startup of my redhat 6.2 (instance in ec2 AWS if someone cares) I want everytime when instance starts (after stop/reboot) a script i build to launch. when i run the script ./scriptname the script runs and everything is OK. i added the following lines to /etc/rc.local by using "sudo vi /etc/local.rc" Code: #!/bin/sh /etc/init.d/softimize-init fi Then i saved and exited. then i stopped the instance, started it, and it does not perform the script. if i do /etc/rc.local when i am logged it, it will apply i (HowTos)