My /etc/rc.local script is quite simple, like this. #!/bin/shtouch /root/test1touch /var/lock/subsys/localtouch /root/test2modprobe -r ftdi_siomodprobe ftdi_sio vendor=0x0403 product=0x6015touch /root/test3cd /root/IPNHost./IPNHosttouch /root/test4I don't understand why IPNHost c program is not being run in this case. It runs perfectly fine when I run rc.local from the command prompt, like this:/etc/rc.localThis is CentOS 6.5.UPDATE: I tried adding debug statements to see whether rc.local was really executed. I have all 4, test1, test2, test3, test4 in my root directory. What's happening here? 
CentOS - commands in rc.local not run
linux;centos;boot
Turned out that the IPNHost program was dependent on intel ipp libraries environment variables for which the location was not specified at that point of time during boot. Did a script autoStart.sh#!/bin/bashsource /opt/intel/bin/compilervars.sh intel64cd /root/IPNHost./IPNHostThe source /opt/intel/bin/compilervars.sh intel64 loads the required intel environment variables which specify where to find the dynamically loaded libraries. In rc.local I then called autoStart.sh, this works. 