Using the HP DTC Manager/UX

128
Using dtcmodifyconfs
10
User-defined script files
The scriptfile option is used to modify one or more DTCs at a time. The parameters
to be modified are specified in a user-defined script file.
An explanatory text file and example script file are part of the DTC Manager fileset.
These two files (located in /opt/dtcmgr/tools directory) are:
dtcmodifyconfs.sh—a sample script file for all parameter names and values.
dtcmodifyconfs.txt—explains some parameters, options and syntaxes used
in the sample script file (for version A.14.3 and later versions).
You can use the dtcmodifyconfs.sh file as basis for creating your own
customized scripts. Copy it to another file name and then adapt it to your needs.
-f
scriptfile
Executes a script file. Modifications to the DTC configuration are made by means of
parameter assignment statements for particular configuration parameters. These are
kept in an ASCII text file (scriptfile).
Example
To modify a DTC User Prompt parameter with a script file:
dtcmodifyconfs -m -f modscript dtc1
In this case the file modscript would contain: User Prompt="dtc1>>";