From 52efca47237ca163150402c8d61f24dfabc9e27e Mon Sep 17 00:00:00 2001 From: Goffredo Baroncelli Date: Mon, 10 Nov 2025 22:56:04 +0100 Subject: [PATCH] systemd-path: add new type SD_PATH_SEARCH_SYSCTL Add new type SD_PATH_SEARCH_SYSCTL to the ones that systemd-path already know. Before the change: $ systemd-path | egrep sysctl sysctl: /usr/lib/sysctl.d After the change: $ ./systemd-path | egrep sysctl search-sysctl: /etc/sysctl.d:/run/sysctl.d:/usr/local/lib/sysctl.d:/usr/lib/sysctl.d sysctl: /usr/lib/sysctl.d --- src/path/path-tool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/path/path-tool.c b/src/path/path-tool.c index 3dc31832b38..92dbd3496b0 100644 --- a/src/path/path-tool.c +++ b/src/path/path-tool.c @@ -66,6 +66,7 @@ static const char* const path_table[_SD_PATH_MAX] = { [SD_PATH_SEARCH_CONFIGURATION_FACTORY] = "search-configuration-factory", [SD_PATH_SEARCH_STATE_FACTORY] = "search-state-factory", [SD_PATH_SEARCH_CONFIGURATION] = "search-configuration", + [SD_PATH_SEARCH_SYSCTL] = "search-sysctl", [SD_PATH_SYSTEMD_UTIL] = "systemd-util",