This script will change references to the hostnames of the local SpectroSERVER, OneClick server and/or Main Location Server in all standard Spectrum resource files.
whether it will remove the domain name which is present after host name? eg : HostName.domaim.com
It will replace what is currently specified in the resource files with what you enter, verbatim. If the host is in a domain, when it prompts you for "Please enter the local hostname:" or "Please enter the hostname of the Main Location Server:" you would enter domainname/hostname
If a domain name is already in the files and you do not specify a domain name when you run the script, then the domain name will be removed from the files. For example, if before running the script your .locrc says:
and you specify host_02 when you run the script, the resulting .locrc will say
If you specify domain/host_02 in the script, the result will be
I updated this to make the script transparent for Windows, Linux and Solaris.
Retrieving data ...