From ea39de2f9e6549bf1694e7c7e47f65e769ba9bc6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 7 Mar 2019 16:33:41 +0100 Subject: [PATCH] systemd-analyze: support cat-config kernel/install.d Extension of f1d9d36ac5958006bbd464944ef490a198d38189. --- src/shared/pretty-print.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/shared/pretty-print.c b/src/shared/pretty-print.c index ce71a7ef600..c602e036eb5 100644 --- a/src/shared/pretty-print.c +++ b/src/shared/pretty-print.c @@ -244,6 +244,9 @@ static int guess_type(const char **name, bool *is_usr, bool *is_collection, cons if (path_equal(n, "udev/rules.d")) ext = ".rules"; + if (path_equal(n, "kernel/install.d")) + ext = ".install"; + if (PATH_IN_SET(n, "systemd/system-preset", "systemd/user-preset")) { coll = true; ext = ".preset"; -- 2.47.3