config: deprecate 'include' and 'config' commands
diff --git a/TODO b/TODO
index 5dd906d..2d45006 100644
--- a/TODO
+++ b/TODO
@@ -83,6 +83,9 @@
* 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
------
diff --git a/libkmod/libkmod-config.c b/libkmod/libkmod-config.c
index 49e33e7..a5c6d11 100644
--- a/libkmod/libkmod-config.c
+++ b/libkmod/libkmod-config.c
@@ -576,7 +576,7 @@
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: