DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Administering port monitors

Replacing configuration scripts for individual systems

The system-specific configuration script /etc/saf/_sysconfig customizes the environment for all services on the system. Upon startup, the SAC daemon interprets the system-specific configuration script (using the doconfig library routine). A default _sysconfig containing only a comment line is part of the delivered system.

When writing a system-specific configuration script, use the following command:

sacadm -G [-z script]

The -G option by itself prints the system-specific configuration script. In combination with the -z option, it replaces /etc/saf/_sysconfig with the contents of the file script.

The _sysconfig file in the following example of a simple system-specific configuration script sets the time zone variable, TZ:

assign TZ=EST5EDT        # set TZ
runwait echo SAC is starting > /dev/console
The -z option can also be used with the -a option to specify the contents of the port monitor-specific configuration file when a port monitor is created.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004