If I wanted to set a global environment variable and make it permanent and available at bootup, that would be by setting it in a script placed in /etc/profile.d , is that correct?
If I wanted to set a global environment variable and make it permanent and available at bootup, that would be by setting it in a script placed in /etc/profile.d , is that correct?
Yes. Make sure it's chmod +x with the shebang line (e.g. #!/bin/sh) and then export your variable in it.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Given the success of the GZIP=--rsyncable setting as applied to backups, is there any reason NOT to set that as a permanent, global variable? Will that force gzip to always use --rsyncable, system wide? Is there anyway to negate that locally, say by setting GZIP=null during script execution?
da 'bump' n grind...