Results 1 to 2 of 2

Thread: How do I load the PATH and LD_LIBRARY_PATH automatically ?

  1. #1

    How do I load the PATH and LD_LIBRARY_PATH automatically ?

    Pretty wierd title to capture my question., I know.

    I've installed the custom firmware, managed to get mt-daapd up and running (which wasn't that difficult), chenged the shell to bash, ... but I've a stupid problem:

    every time I log in with Putty, I have to set the PATH en LD_LIBRARY_PATH variables all over again to be able to start vi (and other programs) from where I want. Also: the collouring of the files through "ls" only works after I've set these variables correctly.

    Any ideas on how I can get this right so it these parameters are loaded on startup?

    I've set them in the rc.config file, and in the profile file they are also there...

    Thanks for any help.

    Bart

  2. #2
    Quote Originally Posted by Fatboysec View Post
    Pretty wierd title to capture my question., I know.

    I've installed the custom firmware, managed to get mt-daapd up and running (which wasn't that difficult), chenged the shell to bash, ... but I've a stupid problem:

    every time I log in with Putty, I have to set the PATH en LD_LIBRARY_PATH variables all over again to be able to start vi (and other programs) from where I want. Also: the collouring of the files through "ls" only works after I've set these variables correctly.

    Any ideas on how I can get this right so it these parameters are loaded on startup?

    I've set them in the rc.config file, and in the profile file they are also there...

    Thanks for any help.

    Bart
    You can set them and some other things .profile in your home directory

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •