From: Zbigniew Jędrzejewski-Szmek Date: Thu, 7 Mar 2019 15:33:41 +0000 (+0100) Subject: systemd-analyze: support cat-config kernel/install.d X-Git-Tag: v242-rc1~136^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea39de2f9e6549bf1694e7c7e47f65e769ba9bc6;p=thirdparty%2Fsystemd.git systemd-analyze: support cat-config kernel/install.d Extension of f1d9d36ac5958006bbd464944ef490a198d38189. --- 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";