ainit - phpMan

Command: man perldoc info search(apropos)  


AINIT(8)                                                              AINIT(8)



NAME
       ainit - configuration tool for ALSA

SYNOPSIS
       ainit user_name start|stop [--version] [--help]

DESCRIPTION
       ainit  is a small utility for automatic configuration. It is lauched by pam_console
       when user obtains console lock  and  it  creates  ALSA  configuration  files  (e.g.
       /etc/alsa/pcm/dmix.conf  for  dmix  plug-in or /etc/alsa/pcm/dsnoop.conf for dsnoop
       plug-in).

       When  ainit  is  lauched  it  parses  template  files  with   configuration   (e.g.
       /etc/alsa/pcm/dmix.template  or  /etc/alsa/pcm/dsnoop.template)  and then writes or
       removes configuration files from the destination directory (/etc/alsa/pcm).

       During this action, ainit allocates or frees system  resources  assigned  for  ALSA
       (shared memory, semaphores).


ARGUMENTS
       user_name
              Name  of  user  who  is  obtaining console lock. ainit will create or
              remove configuration file for him.


       start  With this option, ainit will create configuration file  and  allocate
              system resources for ALSA (shared memory, semaphores).

              This action consist of three parts. First, ainit reads its configura-
              tion file (/etc/alsa/ainit.conf) and checks the options  here  (loca-
              tion of template file, ALSA configuration file and so on).

              Then,  ainit  reads  the  template files (their location was obtained
              from /etc/alsa/ainit.conf), commits action described here and  writes
              the configuration files for ALSA.

              Finally,  ainit creates the lock files. This files have the same name
              as the ALSA configuration files plus ’.lock’ extension.


       stop   With this option, ainit will remove configuration files (but only  if
              the lock file exists) and free system resources used by ALSA.


FILES
       /etc/alsa/ainit.conf
       /etc/alsa/pcm/dmix.template
       /etc/alsa/pcm/dmix.conf
       /etc/alsa/pcm/dmix.conf.lock
       /etc/alsa/pcm/dsnoop.template
       /etc/alsa/pcm/dsnoop.conf
       /etc/alsa/pcm/dsnoop.conf.lock


SEE ALSO
       Also ainit.conf(1), ainit.template(1)

AUTHOR
       Martin Stransky <stransky AT redhat.com>



Red Hat Inc.                      11 May 2005                         AINIT(8)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache/1.3.41 (Unix) PHP/5.2.5 mod_perl/1.30 mod_gzip/1.3.26.1a
Under GNU General Public License
2008-08-28 11:46 @38.103.63.61 CrawledBy CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!