How to update /etc/environment
[Denis Barbier]
> So writing all variables at the same time is the simplest solution.
> How do you create /etc/environment?
The proxy settings are inserted using cfengine, while the language
settings are inserted using a perl script. This is the cfengine rules:
# Enable proxy by default, but drop it on standalone until squid is
# configured on standalone
{ /etc/environment
AutoCreate
AppendIfNoSuchLine "http_proxy=http://webcache:3128"
AppendIfNoSuchLine "ftp_proxy=http://webcache:3128"
}
The perl script is in the locale-config-skolelinux package available
from APT source 'deb ftp://ftp.skolelinux.no/skolelinux/ woody local'.
Reply to: