If you want to have a shell script run automatically upon system startup such as to automatically start up OPMN or your WebLogic servers, placing the file in /etc/init.d as well as creating a symbolic link in /etc/rc5.d or /etc/init.d/rc5.d should do the trick. Otherwise, a script startup failure in SUSE Linux will occur. However, it is possible that the solution with creating the symbolic link may not work in SUSE Linux. To get around this problem, you can try running the following steps:

  1. As root, open /etc/init.d/boot.local in VI.
  2. At the end of the script (by default, nothing is inside other than comments), add a command to run the script you wish to run (example: ./etc/init.d/sample_script.sh).
  3. Save and close the file.

On the next system startup or reboot, the script should be able to run successfully.

NOTE: This problem is only being seen in SUSE Linux. It currently is not happening in Red Hat Enterprise Linux or Oracle Linux. For any other Linux operating systems, it is unknown whether the same problem will occur. As of right now, Red Hat Enterprise Linux, Oracle Linux, and SUSE Linux are the only Linux operating systems supported by Oracle for running Oracle Forms and Reports.

Reference: http://old-en.opensuse.org/SDB:How_to_Create_Your_Own_Init_Script