alsa-utils/alsactl
Takashi Iwai c68a3d02d1 alsactl: Read only *.conf files when a directory is passed via INCLUDE
When alsactl init is invoked and a directory path is passed to INCLUDE
command in the config file, read only *.conf files in that directory.
This will avoid reading backup files or invalid files that have been
created accidentally.

Also by using scandir() with alphasort(), alsactl reads the files in
alphabetical order.  Thus it's highly recommended to use some number
prefix to the file name for assuring the order.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-06-14 16:06:42 +02:00
..
init Alsa-utils: Fix typo causing some volumes not to be initialized 2012-01-13 10:03:07 +01:00
.gitignore alsactl: systemd and udev hookup 2010-11-23 10:42:35 +01:00
90-alsa-restore.rules.in alsactl: systemd and udev hookup 2010-11-23 10:42:35 +01:00
alsa-restore.service.in alsactl: systemd and udev hookup 2010-11-23 10:42:35 +01:00
alsa-store.service.in alsactl: systemd and udev hookup 2010-11-23 10:42:35 +01:00
alsactl.1 alsactl: Move asound.state location to /var/lib/alsa 2010-11-23 15:48:50 +01:00
alsactl.c Revert "alsactl - Display help for names command" 2011-04-28 08:13:54 +02:00
alsactl.h Revert wrong parts of "alsactl: use snd_config_imake* functions" 2010-05-26 10:37:58 +02:00
alsactl_init.xml alsactl: Read only *.conf files when a directory is passed via INCLUDE 2012-06-14 16:06:42 +02:00
init_parse.c alsactl: Read only *.conf files when a directory is passed via INCLUDE 2012-06-14 16:06:42 +02:00
init_sysdeps.c alsa-utils check if __USE_BSD is defined before compiling "BSD functions" 2008-12-08 11:55:27 +01:00
init_sysfs.c Initial 'alsactl init' implementation 2008-07-31 15:45:08 +02:00
init_utils_run.c Initial 'alsactl init' implementation 2008-07-31 15:45:08 +02:00
init_utils_string.c Fix misc compile warnings in alsactl 2009-02-18 15:34:57 +01:00
list.h Initial 'alsactl init' implementation 2008-07-31 15:45:08 +02:00
Makefile.am fix use of $(SED) 2011-08-31 22:31:55 +02:00
state.c alsactl: Do not access other cards than specified for init 2012-05-09 08:45:47 +02:00
utils.c Revert wrong parts of "alsactl: use snd_config_imake* functions" 2010-05-26 10:37:58 +02:00