Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (5900-2561, March 2013)
NOTE: All necessary directories under /var/adm/sw will be created by the SD-UX process. All
files under those directories will be filled by SD-UX initiated processes. Files must never be delivered
directly under /var; it is a private directory.
11.4 Using Environment Variables
All control scripts are invoked as the superuser and executed by the agent process. HP-UX provides
environment variables that affect SD-UX commands and scripts. These variables fall are catgorized
as follows:
• Variables that affect all SD-UX commands.
• Variables that affect all SD-UX scripts.
• Variables that affect swinstall and swremove.
11.4.1 Variables That Affect All SD-UX Commands
11.4.1.1 LANG
• This external variable applies to all SD commands except install-sd.
• Determines the language in which messages are displayed. If LANG is not specified or is set
to the empty string, a default value of “C” is used.
• The language in which the SD agent and daemon log messages are displayed is set by the
system configuration variable script, /etc/rc.config.d/LANG. For example, /etc/
rc.config.d/LANG must be set to “LANG=ja_JP.SJIS” or “LANG=ja_JP.eucJP” to
make the agent and daemon log messages display in Japanese.
You may also use the export LANG= command.
• See the lang(5) man page for more information.
11.4 Using Environment Variables 213