Software Distributor (SD-UX) Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (762797-001, March 2014)

Table Of Contents
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.
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.
Variables That Affect All SD-UX Commands
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.
Using Environment Variables 207