DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Configuring SCO OpenServer 5 MDI drivers

lkcfg scripts

Each driver must provide an lkcfg script that is called by the configuration framework to install, reconfigure, or delete the network driver from the Link Kit.

The command line syntax for an lkcfg is:

   lkcfg -i|-r lkcfg_input_path AOF_path driver_name board#
   lkcfg -d lkcfg_input_path AOF_path driver_name board#
The option to the lkcfg script determines the operation:

-i
Add a new adapter to the system. The lkcfg installs the driver into the Link Kit if necessary, and configures it using the configuration file indicated by the lkcfg_input_path argument. This is a stanza file that has the same format as an acfg output file but it contains only those options that are to be written into the Link Kit (TYPE=link-kit).

-r
Reconfigure a driver. The lkcfg_input_path file contains the new configuration that will be written to the Link Kit.

-d
Delete a driver from the Link Kit. The Link Kit should be modified so that the driver no longer finds the adapter on boot, and if this is the last such adapter configured in the system for this driver, delete the driver itself from the Link Kit.

The lkcfg scripts use the idinstall(ADM) utility to add and remove network adapter drivers into and from the Link Kit. They are called with appropriate flags from the netconfig init, reconf, and remove scripts.

Examples of lkcfg scripts can be found in the sample drivers and on an installed system in the /usr/llipathmap`/ID/*/lkcfg files. Most lkcfg scripts are very similar; to create one for your driver, copy one of the example scripts and modify it as necessary.


© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005