Hi,everyone I have modified .rootrc and rootlogon.C to specify what to do in a beginning of a root session. But here's the problem: the /home is mounted by more thanone machine using nfs in my subnet. Since different machines has different configuration,I am wondering if there is a way to specfy what to do according to the machine I am on? For example, in the .bashrc, I can do the following:
host=`hostname` if [ $host = "myhost1" ] then ........... else ......
Is there a similar way to achieve this with .rootrc? Thanks!
Yang Suli Received on Mon Aug 06 2007 - 00:46:20 CEST
This archive was generated by hypermail 2.2.0 : Wed Aug 08 2007 - 23:50:02 CEST