[ic] Interchange Server DHCP

Mike Heins interchange-users@icdevgroup.org
Thu Sep 26 08:31:02 2002


Quoting Ivan Giglione (giglione@libero.it):
> Hi,
> I want to set-up my server interchange after connection with dhcp e restart
> it which is the line to set?
> 
> Variable Server_IP ..............
> My ip is done with command ipconfig | grep ppp0 | .....
> but ho to set the result of a command in a variable of catalog interchange.
> 

It is probably best to do that in the startup command. Assuming you have
the server name available to the shell, you can do:

    /usr/local/interchange/bin/interchange -restart \
	    catname:VendURL=http://$SERVER_IP/cgi-bin/catname

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.513.523.7621      <mike@perusion.com>

I don't want to get to the end of my life and find I have just
lived the length of it. I want to have lived the width of it as
well. -- Diane Ackerman