5

How do we start code on boot under SLES11?

view full story
linux-howto

http://unix.stackexchange.com – I have a very simple (for now) startup script which I want to run whenever the machine boots. Under RHEL6, I can put the script into /etc/init.d/paxjob and then create a link from the runlevel directory: cd /etc/rc5.d ln -s ../init.d/paxjob S99paxjob The, on reboot, my script runs fine. However, trying to do the same under SLES11 is not working. It has a slightly different structure in that the rcX.d directories are at the same level as init.d (not under it as in RHEL) but changing the commands for that doesn't result in the script running: cd /etc/init.d/rc5.d ln -s ../paxjob S99paxjob (HowTos)