<HTML>
<HEAD>
<TITLE>Re: [GRASS5] Add-on initialization on GRASS startup</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN DEFANGED_STYLE='font-size:12.0px'>You should contact Benjamin Ducke <a href="http://www.uni-kiel.de/ufg/ufg_BerDucke.htm">&lt;http://www.uni-kiel.de/ufg/ufg_BerDucke.htm&gt;</a> about doing this as a GRASS addon extension.<BR>
<BR>
Michael<BR>
______________________________<BR>
Michael Barton, Professor of Anthropology<BR>
School of Human Evolution and Social Change<BR>
Arizona State University<BR>
Tempe, AZ &nbsp;85287-2402<BR>
USA<BR>
<BR>
voice: 480-965-6262; fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a><BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>&quot;Sorokine, Alexandre&quot; &lt;sorokina@ornl.gov&gt;<BR>
<B>Date: </B>Wed, 19 Oct 2005 13:07:40 -0400<BR>
<B>To: </B>&lt;grass5@grass.itc.it&gt;<BR>
<B>Conversation: </B>Add-on initialization on GRASS startup<BR>
<B>Subject: </B>[GRASS5] Add-on initialization on GRASS startup<BR>
<BR>
</SPAN></FONT><SPAN DEFANGED_STYLE='font-size:12.0px'><FONT FACE="Arial">If I am creating an add-on for GRASS and the add-on needs some kind of initialization (i.e., to set some environment variables) is there a standard way to do this on GRASS startup? &nbsp;I mean is there a facility in GRASS similar to /etc/profile.d/ for UNIX shells where you can put initialization scripts and they will run automatically on shell startup?<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">--<BR>
Alex Sorokine, Ph.D. &lt;sorokina@ornl.gov&gt;<BR>
Oak Ridge National Lab<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
<BR>
</FONT></SPAN>
</BODY>
</HTML>