Setting an environment var at boot

Nicolas Letellier nicolas at
Wed Sep 3 09:08:06 UTC 2008


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

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?



 - Nicolas.

More information about the freebsd-questions mailing list