I'm not confused, but what I posted was misleading.
"Last 3 lines of rc5.d:" should have read
Last 3 lines of:
[localhost ]$ ls -l /etc/rc.d/rc5.d
3. If you want to check whether rc.local is being called correctly, add an extra line at the bottom of the file to eg touch a file in your home dir. Note that rc.local will be run as the root user.
Before I posted I tried adding "touch testfile.txt" to rc.local And no file was ever created in /etc/rc.d/. Since rc.local is being run as root this should have created a file somewhere, with no permissions to get in the way, right?
Am I correct in thinking that root runs init, which in turn runs all the startup scripts? If this is the case I would expect "touch testfile.txt" to have worked and put the file in the current working directory. Would this be /sbin/ since this is where init resides? Maybe it did work and I just dont know where to look for it.
When I get home I'll try doing "touch /home/username/testfile.txt" and see what that does.
I'll also try using find to look for the acutal file.