]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
config: deprecate 'include' and 'config' commands
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 11 Jan 2012 02:28:12 +0000 (00:28 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 11 Jan 2012 02:29:34 +0000 (00:29 -0200)
TODO
libkmod/libkmod-config.c

diff --git a/TODO b/TODO
index 5dd906d5096691bf9e5c708a3df4e97ae58302f1..2d45006cb24834fe308d0faf779a2ce05aed3696 100644 (file)
--- a/TODO
+++ b/TODO
@@ -83,6 +83,9 @@ modprobe
 * kmod-modprobe doesn't parse configuration files whose name don't end on
   '.alias'  or '.conf'. modprobe used to warn about these files.
 
+* kmod-modprobe doesn't parse 'config' and 'include' commands in configuration
+  files.
+
 depmod
 ------
 
index 49e33e7777caa466a9068beff58280eee577a2ad..a5c6d114eb247f26dccc04405b2c6200618e7f27 100644 (file)
@@ -576,7 +576,7 @@ static int kmod_config_parse(struct kmod_config *config, int fd,
                                        softdeps);
                } else if (streq(cmd, "include")
                                || streq(cmd, "config")) {
-                       INFO(ctx, "%s: command %s not implemented yet\n",
+                       ERR(ctx, "%s: command %s is deprecated and not parsed anymore\n",
                                                                filename, cmd);
                } else {
 syntax_error: