From: Goffredo Baroncelli Date: Mon, 10 Nov 2025 21:56:04 +0000 (+0100) Subject: systemd-path: add new type SD_PATH_SEARCH_SYSCTL X-Git-Tag: v259-rc1~94^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=52efca47237ca163150402c8d61f24dfabc9e27e;p=thirdparty%2Fsystemd.git 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 --- 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",