I have a .sh file that I execute just going to the containing folder and writing ./file.sh.
I want to execute that file when the session starts, so i create a symlink in /etc/init.d.
I expected it was executed when I start the session but it doesn't work..
The file has the "x" written next to the permissions, so I think it is executable.
Any help?
Javi