Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Sep 2008 20:33:01 +0200
From:      Nikolaj Thygesen <mailinglist@diamondbox.dk>
To:        Nicolas Letellier <nicolas@nicoelro.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Setting an environment var at boot
Message-ID:  <48BED85D.4050209@diamondbox.dk>
In-Reply-To: <20080903104925.3b1e9535@nogrod.nicoelro.net>
References:  <20080903104925.3b1e9535@nogrod.nicoelro.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Nicolas Letellier wrote:
> Hello,
>
> I have an env var to set for mysqld (UMASK_DIR). 
> Today, I set it in /usr/local/etc/rc.d/mysql-server, but it's a bad
> idea. When I want to upgrade my mysql5-server port, the file will be
> overwritten.
>
> I want to set it in a file loaded a machine boot. This var must be
> exported and accessible for my services runned in /etc/rc.d
> and /usr/local/etc/rc.d
>
> What file do you advice?
>
> Thanks.
>
> Regards,
>
>   
Wouldn't this go into '/etc/login.conf'?

N :o)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48BED85D.4050209>