My /etc/rc.local script is quite simple, like this.
#!/bin/sh touch /root/test1 touch /var/lock/subsys/local touch /root/test2 modprobe -r ftdi_sio modprobe ftdi_sio vendor=0x0403 product=0x6015 touch /root/test3 cd /root/IPNHost ./IPNHost touch /root/test4
I 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:
This 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?