Only applications included with the OS use variables in the configuration files (rc.conf, rc.conf.local) with rc(8).
3rd party ports and packages do not use conf variables.
Standard practice is to use the script example provided in /usr/local/share/doc/mysql/README.OpenBSD.
|