|
Symlink will not execute Shell Script in /etc/rc2.d
I need to start an application on boot for us on dumb terminals.
I have created the following script called "S99unform.sh" to start an application called unform. the script looks like this.
###########################
#!/bin/bash
/usr/bin/uf71d start
###########################
I saved this script in /usr/unform directory.
I can execute the application from the command line with the following command.
./usr/bin/uf71d start
I can execute my shell script with the following ./usr/unform/S99unform.sh
Then I created a symlink to S99unform.sh in /etc/rc2.d
(i.e. ln -s /usr/unform/S99unform.sh S99unform)
I thought this would cause the application to startup on boot but it did not, what am I doing wrong?
Thanks for your help.
|