PDA

View Full Version : start on system startup script



norhap
15-02-12, 20:54
hello,

I have a script for my emu, and I wanted to run when you start the box.

name script S99myscript.sh

I put the script in /etc/init.d I created a symbolic link ln -s /etc/init.d/S99myscript.sh/ /etc/rcS.d/S99myscript.sh

S has been named to start the script at startup. the problem is that ViX not start, someone knows I'm doing wrong?

is not necessary to softcams, but are tests I'm doing.

Thanks

sonc
15-02-12, 22:22
Check the permissions on the script in /etc/init.d.

I would probably have created the soft link in rc2.d not rcS.d to make sure everything else had started before my script ran.