[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: basics about env variables



AFAIK /etc/default/rcS is used only by boot time scripts (found under 
/etc/rcS.d).
If you want to set global environment variables you have to modify 
/etc/profile

On 29 Dec 2002 at 12:39, Robert Land wrote:

> The slrnpull program provides the option to
> use the env variable NNTPSERVER instead of
> passing the newsserver by argument.
> 
> As being not that experienced in unix I had
> a look at the rcS script to look how this
> might be done. 
> Following the PATH setting in this file I added
> these two lines:
> 
> NNTPSERVER=news.btx.dtag.de
> export NNTPSERVER
> 
> then did a new init and tried a echo $NNTPSERVER
> which resulted in a blank line in response.
> 
> What was my fault and was this actually slrnpull
> required?
> 
> Any comments are grately appreciated.
> 
> Robert
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 



Reply to: