Is there a way for a script to determine when it is being called via remsh?
Here's what I am trying to accomplish. I have one development and four production boxes. Each production box is divided between several different Units. When any user runs the script from a production box, it will provide the results by Unit for just that box. When ran from the development box the script uses remsh to gather and display the Unit information from all boxes. I want the script on the production boxes to perform an additional procedure only when ran remotely via remsh. How can I do this?
-Bobby s-)
bwgunn@icqmail.com
Here's what I am trying to accomplish. I have one development and four production boxes. Each production box is divided between several different Units. When any user runs the script from a production box, it will provide the results by Unit for just that box. When ran from the development box the script uses remsh to gather and display the Unit information from all boxes. I want the script on the production boxes to perform an additional procedure only when ran remotely via remsh. How can I do this?
-Bobby s-)
bwgunn@icqmail.com