slackware-current/source/a/module-init-tools/modprobe.favor.etc.modprobe.d.diff
Patrick J Volkerding 5a12e7c134 Slackware 13.0
Wed Aug 26 10:00:38 CDT 2009
Slackware 13.0 x86_64 is released as stable!  Thanks to everyone who
helped make this release possible -- see the RELEASE_NOTES for the
credits.  The ISOs are off to the replicator.  This time it will be a
6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD.
We're taking pre-orders now at store.slackware.com.  Please consider
picking up a copy to help support the project.  Once again, thanks to
the entire Slackware community for all the help testing and fixing
things and offering suggestions during this development cycle.
As always, have fun and enjoy!  -P.
2018-05-31 22:41:17 +02:00

27 lines
1.5 KiB
Diff

diff -Nur module-init-tools-3.6.old/doc/modprobe.conf.sgml module-init-tools-3.6.new/doc/modprobe.conf.sgml
--- module-init-tools-3.6.old/doc/modprobe.conf.sgml 2009-02-04 01:45:24.000000000 -0600
+++ module-init-tools-3.6.new/doc/modprobe.conf.sgml 2009-02-08 01:42:05.097637263 -0600
@@ -35,7 +35,9 @@
<para>Because the <command>modprobe</command> command can add or
remove extra more than one module, due to module dependencies,
we need a method of specifying what options are to be used with
- those modules. <filename>/etc/modprobe.conf</filename> (or, if that does not exist, all files under the <filename>/etc/modprobe.d</filename> directory) specifies
+ those modules. All of the files under the <filename>/etc/modprobe.d/</filename>
+ directory are used, or if that directory does not exist, the
+ <filename>/etc/modprobe.conf</filename> file specifies
those options, as required. It can also be used to create
convenient aliases: alternate names for a module. Finally, it
can override the normal <command>modprobe</command> behavior
diff -Nur module-init-tools-3.6.old/modprobe.c module-init-tools-3.6.new/modprobe.c
--- module-init-tools-3.6.old/modprobe.c 2009-02-04 01:45:24.000000000 -0600
+++ module-init-tools-3.6.new/modprobe.c 2009-02-08 01:42:05.099636402 -0600
@@ -1366,8 +1366,8 @@
static const char *default_configs[] =
{
- "/etc/modprobe.conf",
"/etc/modprobe.d",
+ "/etc/modprobe.conf",
};
static void read_toplevel_config(const char *filename,