Provides auto-configuration facility for PCMCIA devices.
The acfgd daemon ( Auto-config daemon ) enables auto-configuration of PCMCIA cards. It can run scripts before or after the configuration or unconfiguration of PCMCIA devices. In addition, the acfgd daemon can also run configure or unconfigure methods when a PCMCIA device is inserted or removed.
The following ODM attributes (PdAt or CuAt) in PCMCIA devices are read by the auto-config daemon. If the corresponding device is configured or unconfigured, the commands defined in the following ODM attributes are also run with bin ( UID=2 ) user authority. TCP/IP configuration scripts, for example, are defined in these attributes of PCMCIA LAN cards.
|ODM Attribute Name||Description|
|pre_mkdev||Commands performed before a configure method. If the command exits with non 0 value, the configure method is not performed.|
|post_mkdev||Commands performed after a configure method. If a configure method exits with non 0 value, the command is not performed.|
|pre_rmdev||Commands performed before an unconfigure method. If the command exits with non 0 value, the unconfigure method is not performed.|
|post_rmdev||Commands performed after an unconfigure method. If an unconfigure method exits with non 0 value, the command is not performed.|
The following strings are interpreted by the auto-config daemon when it reads the above attributes.
|Original String||Interpreted String|
|%d||ODM name of the target device.|
|%n||Number following the device name prefix in ODM target device name.|
This command returns the following exit values:
|>0||An error occurred.|
Access Control: Any User
Files Accessed: None
To enable auto-configuration of PCMCIA cards, enter:
|/usr/sbin/acfgd||Contains the acfgd daemon.|