78 lines
5.0 KiB
HTML
78 lines
5.0 KiB
HTML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="dc.language" scheme="rfc1766" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<meta name="dc.date" scheme="iso8601" content="2005-09-13" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow"/>
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<title>Example: NWSD configuration file</title>
|
||
|
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="ic.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
|
||
|
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
|
||
|
|
||
|
|
||
|
<a name="rzahqrzahqpkepe"></a>
|
||
|
<h2 id="rzahqrzahqpkepe">Example: NWSD configuration file</h2>
|
||
|
<p>This example configuration file:</p>
|
||
|
<ul>
|
||
|
<li>Sets a default file path</li>
|
||
|
<li>Deletes the time zone and uses a configuration variable to add it back</li>
|
||
|
<li>Sets default search values that cause the display configuration lines
|
||
|
to be added before the UserData section</li>
|
||
|
<li>Adds lines that configure the display</li></ul>
|
||
|
<p>
|
||
|
<br /></p>
|
||
|
<p></p>
|
||
|
<pre class="xmp">+--------------------------------------------------------------------------------+
|
||
|
| *************** Beginning of data ************************************* |
|
||
|
| ****************************************************************** |
|
||
|
| * Update D:\UNATTEND.TXT |
|
||
|
| ****************************************************************** |
|
||
|
| * |
|
||
|
| *================================================================= |
|
||
|
| * Set default directory and file name values. |
|
||
|
| *================================================================= |
|
||
|
| SETDEFAULTS TARGETDIR = 'D:\', TARGETFILE = 'UNATTEND.TXT' |
|
||
|
| * |
|
||
|
| *================================================================= |
|
||
|
| * Delete and use a substitution variable to re-add TimeZone line. |
|
||
|
| *================================================================= |
|
||
|
| ADDCONFIG VAR = 'TimeZone', ADDWHEN = 'NEVER', DELETEWHEN = 'ALWAYS' |
|
||
|
| ADDCONFIG ADDSTR = 'TimeZone="%TIMEZONE%"', |
|
||
|
| FILESEARCHSTR = '%FPA_L_BRACKET%GuiUnattended%FPA_R_BRACKET%' |
|
||
|
| * |
|
||
|
| * Add lines to configure the display. |
|
||
|
| *================================================================= |
|
||
|
| * Set default search values to add new statements to the file |
|
||
|
| * before the UserData section header line. |
|
||
|
| SETDEFAULTS FILESEARCHSTR = '%FPA_L_BRACKET%UserData%FPA_R_BRACKET%', |
|
||
|
| FILESEARCHPOS = 'BEFORE' |
|
||
|
| * |
|
||
|
| * Add the display statements to the file. |
|
||
|
| ADDCONFIG ADDSTR = '%FPA_L_BRACKET%Display%FPA_R_BRACKET%', |
|
||
|
| UNIQUE = 'YES' |
|
||
|
| ADDCONFIG ADDSTR = 'ConfigureAtLogon = 0', UNIQUE = 'YES' |
|
||
|
| ADDCONFIG ADDSTR = 'BitsPerPel = 16', UNIQUE = 'YES' |
|
||
|
| ADDCONFIG ADDSTR = 'XResolution = 640', UNIQUE = 'YES' |
|
||
|
| ADDCONFIG ADDSTR = 'YResolution = 480', UNIQUE = 'YES' |
|
||
|
| ADDCONFIG ADDSTR = 'VRefresh = 60', UNIQUE = 'YES' |
|
||
|
| ADDCONFIG ADDSTR = 'AutoConfirm = 1', UNIQUE = 'YES' |
|
||
|
| * |
|
||
|
| |
|
||
|
+--------------------------------------------------------------------------------+</pre>
|
||
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
||
|
</body>
|
||
|
</html>
|