POST-INSTALL COMMAND
====================

hda-config executes an arbitrary command after setting up the codec.
The command file "post-install" is stored at $sysconfdir/hda-config as
default, and can be specified via --with-scriptdir configure option,
too. 

hda-config passes some environment variables to be parsed in the
script or command.  The variables below are set:

- ALSA_CARD

  The card number of the invoked codec

- ALSA_DEVICE

  The device number of the invoked codec

- ALSA_CODEC_ID

  The codec vendor id is stored as two hex numbers joined with colon,
  such as 0123:abcd

- ALSA_SUBSYSTEM_ID

  The codec subsystem id is stored as two hex numbers as well.

- ALSA_REVISION_ID

  The codec subsystem id is stored as a single hex number with 8
  digits.

- ALSA_PCI_ID

  The PCI vendor and device IDs are stored as two hex numbers with
  colon.

- ALSA_PCI_SSID

  The PCI subsystem vendor and device IDs are stored as two hex
  numbers with colon.

- ALSA_CODEC_ADDR

  The codec address is stored as a digit, based on 0.

- ALSA_CODEC_NAME

  The name string set by the configuration module is passed.


For example, the following shell script in
/etc/hda-config/post-install would restore the mixer setting
automatically.

----------------------------------------------------------------
#/bin/sh
exec /usr/sbin/alsactl -F restore $ALSA_CARD
exit 0
----------------------------------------------------------------
