[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 1

acfgd Daemon

Purpose

Provides auto-configuration facility for PCMCIA devices.

Syntax

/usr/sbin/acfgd

Description

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.

Releated Device ODM Attributes

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.
%% %

Exit Status

This command returns the following exit values:

0 Successful completion.
>0 An error occurred.

Security

Access Control: Any User

Files Accessed: None

Example

To enable auto-configuration of PCMCIA cards, enter:

/usr/sbin/acfgd

Files

/usr/sbin/acfgd Contains the acfgd daemon.

[ Previous | Next | Contents | Glossary | Home | Search ]