Re: Hiding directories
Posted: Tue Apr 28, 2015 9:03 am
Discovered the issue was that there is a paramater in the UMS.sh in the "/etc/init.d/ums" that defines the profile directory as an absolute "/etc/ums" and overrides everything else before even executing the UMS.sh in the root of the install.
Once I changed this to point to my install at "/usr/ums" there was no problem. You can still define multiple profiles as you could before but you will need to chose the profile by setting the environment variable.
In Ubuntu, setting an environment variable can be done as thus:
After setting the environment variable, you can check to make sure that it has been written in:
These commands work for the bourne or bash based terminal, otherwise use 'set'
BTW, getting the profile to load correctly completely fixed all of my directory issues so considered this one solved, thanks everyone for the help
Once I changed this to point to my install at "/usr/ums" there was no problem. You can still define multiple profiles as you could before but you will need to chose the profile by setting the environment variable.
In Ubuntu, setting an environment variable can be done as thus:
Code: Select all
UMS_PROFILE=/absolute/directory/profile
export UMS_PROFILE
Code: Select all
printenv
BTW, getting the profile to load correctly completely fixed all of my directory issues so considered this one solved, thanks everyone for the help
