]> git.alsa-project.org Git - alsa-utils.git/commit
Refrain from creating /etc/modprobe.conf if it does not already exist
authorThomas Hood <jdthood@yahoo.co.uk>
Fri, 24 Sep 2004 09:58:20 +0000 (09:58 +0000)
committerTakashi Iwai <tiwai@suse.de>
Fri, 24 Sep 2004 09:58:20 +0000 (09:58 +0000)
commitdba1bfa750e8ebd87cf41063e46b5e24aac05e3c
treefe5b08adf9802ae77b680306593e8bfffed120e1
parent7de47ff37bb053d3f747a91893f6c194a8516608
Refrain from creating /etc/modprobe.conf if it does not already exist

Patch for alsaconf which makes it refrain from creating
/etc/modprobe.conf if the latter does not already exist.

Creating an empty /etc/modprobe.conf is bad because if it
exists then modprobe uses _only_ this file -- it does not
use /etc/modprobe.d/.

Additionally, this patch makes alsaconf set the cleanup
trap before it creates temporary files rather than after.

Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
alsaconf/alsaconf.in