Date: Wed, 3 Sep 2008 10:49:25 +0200 From: Nicolas Letellier <nicolas@nicoelro.net> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Setting an environment var at boot Message-ID: <20080903104925.3b1e9535@nogrod.nicoelro.net>
next in thread | raw e-mail | index | archive | help
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, -- - Nicolas.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080903104925.3b1e9535>