systemd-analyze: support cat-config kernel/install.d

Extension of f1d9d36ac5.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-03-07 16:33:41 +01:00
parent 2bd061a48b
commit ea39de2f9e

View file

@ -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";