I am trying to add a directory ( /Database/mydir ) to the PATH.
First I tried to add it in /etc/rc.local : export PATH=”$PATH:/Database/mydir” , but after the system started, my dir was not added to the PATH.
Then I used /etc/rc.pre, and added “echo $PATH” and “sleep 30” to the script in order to see if my dir was added. I saw on the console that after the message “…Running /etc/rc.pre” my dir was added to the PATH…but after finishing the boot process, again my dir was not in the PATH.
How can I add permanently a dir to the PATH?
Thank you for your help in advance, and congratulations for this wonderful software.